File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
lib/SILOptimizer/PassManager Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -140,10 +140,6 @@ static void addMandatoryDiagnosticOptPipeline(SILPassPipelinePlan &P) {
140
140
P.addMoveKillsCopyableValuesChecker (); // No uses after _move of copyable
141
141
// value.
142
142
P.addTrivialMoveOnlyTypeEliminator ();
143
- // As a temporary measure, we also eliminate move only for non-trivial types
144
- // until we can audit the later part of the pipeline. Eventually, this should
145
- // occur before IRGen.
146
- P.addMoveOnlyTypeEliminator ();
147
143
148
144
P.addAddressLowering ();
149
145
@@ -221,6 +217,11 @@ static void addMandatoryDiagnosticOptPipeline(SILPassPipelinePlan &P) {
221
217
222
218
// Canonical swift requires all non cond_br critical edges to be split.
223
219
P.addSplitNonCondBrCriticalEdges ();
220
+
221
+ // As a temporary measure, we also eliminate move only for non-trivial types
222
+ // until we can audit the later part of the pipeline. Eventually, this should
223
+ // occur before IRGen.
224
+ P.addMoveOnlyTypeEliminator ();
224
225
}
225
226
226
227
SILPassPipelinePlan
You can’t perform that action at this time.
0 commit comments