diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2024-01-07 12:22:33 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2024-01-11 09:58:22 +0000 |
| commit | bc35ee41fa6751a85a528656953b581fb02ddd25 (patch) | |
| tree | 9cd177db52e15b06df230dac41e935c697278b50 /compiler/rustc_mir_transform/src | |
| parent | 974b727874b18a161c17fd0eaa4ca883d05bf19a (diff) | |
| download | rust-bc35ee41fa6751a85a528656953b581fb02ddd25.tar.gz rust-bc35ee41fa6751a85a528656953b581fb02ddd25.zip | |
Do not run simplify_locals inside DSE.
The full pass is run short after.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
| -rw-r--r-- | compiler/rustc_mir_transform/src/dead_store_elimination.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_mir_transform/src/dead_store_elimination.rs b/compiler/rustc_mir_transform/src/dead_store_elimination.rs index 9dd5aa4c8bd..c27718d7bda 100644 --- a/compiler/rustc_mir_transform/src/dead_store_elimination.rs +++ b/compiler/rustc_mir_transform/src/dead_store_elimination.rs @@ -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 { |
