File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/SILOptimizer/PassManager Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -286,13 +286,13 @@ void addFunctionPasses(SILPassPipelinePlan &P,
286
286
// Optimize copies from a temporary (an "l-value") to a destination.
287
287
P.addTempLValueOpt ();
288
288
289
+ // Split up opaque operations (copy_addr, retain_value, etc.).
290
+ P.addLowerAggregateInstrs ();
291
+
289
292
// We earlier eliminated ownership if we are not compiling the stdlib. Now
290
293
// handle the stdlib functions.
291
294
P.addNonTransparentFunctionOwnershipModelEliminator ();
292
295
293
- // Split up opaque operations (copy_addr, retain_value, etc.).
294
- P.addLowerAggregateInstrs ();
295
-
296
296
// Split up operations on stack-allocated aggregates (struct, tuple).
297
297
if (OpLevel == OptimizationLevelKind::HighLevel) {
298
298
P.addEarlySROA ();
You can’t perform that action at this time.
0 commit comments