Merge pull request #84704 from eeckstein/closure-specialization

ClosureSpecialization: support for OSSA and a big overhaul
This commit is contained in:
eeckstein
2025-10-07 06:59:08 +02:00
committed by GitHub
53 changed files with 1991 additions and 2991 deletions

View File

@@ -3227,9 +3227,6 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
Opts.NoAllocations = Args.hasArg(OPT_no_allocations);
Opts.EnableExperimentalSwiftBasedClosureSpecialization =
Args.hasArg(OPT_enable_experimental_swift_based_closure_specialization);
// If these optimizations are enabled never preserve functions for the
// debugger.
Opts.ShouldFunctionsBePreservedToDebugger =