File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
lib/SILOptimizer/PassManager Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,13 @@ llvm::cl::opt<bool>
69
69
EnableDeinitDevirtualizer (" enable-deinit-devirtualizer" , llvm::cl::init(false ),
70
70
llvm::cl::desc(" Enable the DestroyHoisting pass." ));
71
71
72
+ // Temporary flag until the stdlib builds with ~Escapable
73
+ llvm::cl::opt<bool >
74
+ EnableLifetimeDependenceInsertion (
75
+ " enable-lifetime-dependence-insertion" , llvm::cl::init(false ),
76
+ llvm::cl::desc(" Enable lifetime dependence insertion." ));
77
+
78
+ // Temporary flag until the stdlib builds with ~Escapable
72
79
llvm::cl::opt<bool >
73
80
EnableLifetimeDependenceDiagnostics (
74
81
" enable-lifetime-dependence-diagnostics" , llvm::cl::init(false ),
@@ -291,7 +298,7 @@ SILPassPipelinePlan::getSILGenPassPipeline(const SILOptions &Options) {
291
298
P.startPipeline (" SILGen Passes" );
292
299
293
300
P.addSILGenCleanup ();
294
- if (EnableLifetimeDependenceDiagnostics) {
301
+ if (EnableLifetimeDependenceDiagnostics || EnableLifetimeDependenceInsertion ) {
295
302
P.addLifetimeDependenceInsertion ();
296
303
}
297
304
if (SILViewSILGenCFG) {
You can’t perform that action at this time.
0 commit comments