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) {
810810 P.addDeadObjectElimination ();
811811 P.addObjectOutliner ();
812812 P.addDeadStoreElimination ();
813+ P.addDCE ();
814+ P.addSimplification ();
815+ P.addInitializeStaticGlobals ();
813816
814817 // dead-store-elimination can expose opportunities for dead object elimination.
815818 P.addDeadObjectElimination ();
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ public class D2: D1 {
235235// that D2.foo() is inlined thanks to this.
236236// CHECK-LABEL: sil hidden [noinline] @$s23devirt_covariant_return7driver2ys5Int32VAA2D2CF
237237// CHECK-NOT: class_method
238- // CHECK: checked_cast_br [exact] D1 in %{{.*}} : $D1 to D2
238+ // CHECK: checked_cast_br [exact] D1 in
239239// CHECK: bb2
240240// CHECK: global_addr
241241// CHECK: load
You can’t perform that action at this time.
0 commit comments