File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/SILOptimizer/PassManager Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -289,17 +289,17 @@ void addFunctionPasses(SILPassPipelinePlan &P,
289
289
// Split up opaque operations (copy_addr, retain_value, etc.).
290
290
P.addLowerAggregateInstrs ();
291
291
292
- // We earlier eliminated ownership if we are not compiling the stdlib. Now
293
- // handle the stdlib functions.
294
- P.addNonTransparentFunctionOwnershipModelEliminator ();
295
-
296
292
// Split up operations on stack-allocated aggregates (struct, tuple).
297
293
if (OpLevel == OptimizationLevelKind::HighLevel) {
298
294
P.addEarlySROA ();
299
295
} else {
300
296
P.addSROA ();
301
297
}
302
298
299
+ // We earlier eliminated ownership if we are not compiling the stdlib. Now
300
+ // handle the stdlib functions.
301
+ P.addNonTransparentFunctionOwnershipModelEliminator ();
302
+
303
303
// Promote stack allocations to values.
304
304
P.addMem2Reg ();
305
305
You can’t perform that action at this time.
0 commit comments