Skip to content

Commit

Permalink
Rollup merge of #106951 - tmiasko:rm-simplify-initial, r=oli-obk
Browse files Browse the repository at this point in the history
Remove ineffective run of SimplifyConstCondition

There are no constant conditions at this stage.
  • Loading branch information
Dylan-DPC authored Jan 17, 2023
2 parents 1b2d595 + d21696a commit 26c0a38
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/rustc_mir_transform/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,6 @@ fn run_analysis_to_runtime_passes<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>
fn run_analysis_cleanup_passes<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
let passes: &[&dyn MirPass<'tcx>] = &[
&cleanup_post_borrowck::CleanupPostBorrowck,
&simplify_branches::SimplifyConstCondition::new("initial"),
&remove_noop_landing_pads::RemoveNoopLandingPads,
&simplify::SimplifyCfg::new("early-opt"),
&deref_separator::Derefer,
Expand Down

0 comments on commit 26c0a38

Please sign in to comment.