1
Fork 0

Do not run simplify_locals inside DSE.

The full pass is run short after.
This commit is contained in:
Camille GILLOT 2024-01-07 12:22:33 +00:00
parent 974b727874
commit bc35ee41fa
4 changed files with 9 additions and 7 deletions

View file

@ -123,8 +123,6 @@ pub fn eliminate<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
let Operand::Copy(place) = *arg else { bug!() };
*arg = Operand::Move(place);
}
crate::simplify::simplify_locals(body, tcx)
}
pub enum DeadStoreElimination {