Do not run simplify_locals inside DSE.
The full pass is run short after.
This commit is contained in:
parent
974b727874
commit
bc35ee41fa
4 changed files with 9 additions and 7 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue