diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2023-01-16 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2023-01-16 00:00:00 +0000 |
| commit | d21696ae465db24fc0026eafd03166b9e6b2bdc8 (patch) | |
| tree | 582364c0da2881acda985bef963a9ff965d0dccd | |
| parent | 481725984b4cd94ef5c00917b01c1771b6e5299c (diff) | |
| download | rust-d21696ae465db24fc0026eafd03166b9e6b2bdc8.tar.gz rust-d21696ae465db24fc0026eafd03166b9e6b2bdc8.zip | |
Remove ineffective run of SimplifyConstCondition
There are no constant conditions at this stage.
| -rw-r--r-- | compiler/rustc_mir_transform/src/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_mir_transform/src/lib.rs b/compiler/rustc_mir_transform/src/lib.rs index 16b8a901f36..20b7fdcfe6d 100644 --- a/compiler/rustc_mir_transform/src/lib.rs +++ b/compiler/rustc_mir_transform/src/lib.rs @@ -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, |
