We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1bef90 commit 465a82fCopy full SHA for 465a82f
compiler/rustc_mir_transform/src/lib.rs
@@ -552,8 +552,6 @@ fn run_optimization_passes<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
552
&const_prop::ConstProp,
553
&gvn::GVN,
554
&dataflow_const_prop::DataflowConstProp,
555
- //
556
- // Const-prop runs unconditionally, but doesn't mutate the MIR at mir-opt-level=0.
557
&const_debuginfo::ConstDebugInfo,
558
&o1(simplify_branches::SimplifyConstCondition::AfterConstProp),
559
&early_otherwise_branch::EarlyOtherwiseBranch,
0 commit comments