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<'
699
699
& o1 ( simplify:: SimplifyCfg :: AfterUnreachableEnumBranching ) ,
700
700
& multiple_return_terminators:: MultipleReturnTerminators ,
701
701
// 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 .
704
704
& instsimplify:: InstSimplify :: AfterSimplifyCfg ,
705
705
& ref_prop:: ReferencePropagation ,
706
706
& sroa:: ScalarReplacementOfAggregates ,
You can’t perform that action at this time.
0 commit comments