File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_mir_transform/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -699,8 +699,8 @@ pub(crate) fn run_optimization_passes<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'
699699 & o1 ( simplify:: SimplifyCfg :: AfterUnreachableEnumBranching ) ,
700700 & multiple_return_terminators:: MultipleReturnTerminators ,
701701 // After simplifycfg, it allows us to discover new opportunities for peephole
702- // optimizations. This invalidates CFG caches, so avoid putting between two SSA
703- // analyses .
702+ // optimizations. This invalidates CFG caches, so avoid putting between
703+ // `ReferencePropagation` and `GVN` which both use the dominator tree .
704704 & instsimplify:: InstSimplify :: AfterSimplifyCfg ,
705705 & ref_prop:: ReferencePropagation ,
706706 & sroa:: ScalarReplacementOfAggregates ,
You can’t perform that action at this time.
0 commit comments