File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
lib/SILOptimizer/PassManager Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -308,18 +308,18 @@ void addFunctionPasses(SILPassPipelinePlan &P,
308
308
// Promote stack allocations to values.
309
309
P.addMem2Reg ();
310
310
311
- // We earlier eliminated ownership if we are not compiling the stdlib. Now
312
- // handle the stdlib functions, re-simplifying, eliminating ARC as we do.
313
- P.addCopyPropagation ();
314
- P.addSemanticARCOpts ();
315
- P.addNonTransparentFunctionOwnershipModelEliminator ();
316
-
317
311
// Run the existential specializer Pass.
318
312
P.addExistentialSpecializer ();
319
313
320
314
// Cleanup, which is important if the inliner has restarted the pass pipeline.
321
315
P.addPerformanceConstantPropagation ();
322
316
317
+ // We earlier eliminated ownership if we are not compiling the stdlib. Now
318
+ // handle the stdlib functions, re-simplifying, eliminating ARC as we do.
319
+ P.addCopyPropagation ();
320
+ P.addSemanticARCOpts ();
321
+ P.addNonTransparentFunctionOwnershipModelEliminator ();
322
+
323
323
addSimplifyCFGSILCombinePasses (P);
324
324
325
325
P.addArrayElementPropagation ();
You can’t perform that action at this time.
0 commit comments