Skip to content

Commit 26c0a38

Browse files
authored
Rollup merge of #106951 - tmiasko:rm-simplify-initial, r=oli-obk
Remove ineffective run of SimplifyConstCondition There are no constant conditions at this stage.
2 parents 1b2d595 + d21696a commit 26c0a38

File tree

1 file changed

+0
-1
lines changed
  • compiler/rustc_mir_transform/src

1 file changed

+0
-1
lines changed

compiler/rustc_mir_transform/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,6 @@ fn run_analysis_to_runtime_passes<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>
487487
fn run_analysis_cleanup_passes<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
488488
let passes: &[&dyn MirPass<'tcx>] = &[
489489
&cleanup_post_borrowck::CleanupPostBorrowck,
490-
&simplify_branches::SimplifyConstCondition::new("initial"),
491490
&remove_noop_landing_pads::RemoveNoopLandingPads,
492491
&simplify::SimplifyCfg::new("early-opt"),
493492
&deref_separator::Derefer,

0 commit comments

Comments
 (0)