Replace legacy ConstProp by GVN.

This commit is contained in:
Camille GILLOT 2023-09-20 21:43:33 +00:00
parent a03c972816
commit 2837727471
190 changed files with 1361 additions and 1714 deletions

View file

@ -590,7 +590,6 @@ fn run_optimization_passes<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
&separate_const_switch::SeparateConstSwitch,
&gvn::GVN,
&simplify::SimplifyLocals::AfterGVN,
&const_prop::ConstProp,
&dataflow_const_prop::DataflowConstProp,
&const_debuginfo::ConstDebugInfo,
&o1(simplify_branches::SimplifyConstCondition::AfterConstProp),