File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
lib/SILOptimizer/PassManager Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -810,6 +810,9 @@ static void addLowLevelPassPipeline(SILPassPipelinePlan &P) {
810
810
P.addDeadObjectElimination ();
811
811
P.addObjectOutliner ();
812
812
P.addDeadStoreElimination ();
813
+ P.addDCE ();
814
+ P.addSimplification ();
815
+ P.addInitializeStaticGlobals ();
813
816
814
817
// dead-store-elimination can expose opportunities for dead object elimination.
815
818
P.addDeadObjectElimination ();
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ public class D2: D1 {
235
235
// that D2.foo() is inlined thanks to this.
236
236
// CHECK-LABEL: sil hidden [noinline] @$s23devirt_covariant_return7driver2ys5Int32VAA2D2CF
237
237
// CHECK-NOT: class_method
238
- // CHECK: checked_cast_br [exact] D1 in %{{.*}} : $D1 to D2
238
+ // CHECK: checked_cast_br [exact] D1 in
239
239
// CHECK: bb2
240
240
// CHECK: global_addr
241
241
// CHECK: load
You can’t perform that action at this time.
0 commit comments