Do not re-simplify SSA locals.
This commit is contained in:
parent
e26c9a42c6
commit
4ee01faaf0
5 changed files with 29 additions and 26 deletions
|
|
@ -33,10 +33,6 @@
|
|||
+ }
|
||||
+
|
||||
+ ALLOC1 (size: 2, align: 1) {
|
||||
+ 01 02 │ ..
|
||||
+ }
|
||||
+
|
||||
+ ALLOC2 (size: 2, align: 1) {
|
||||
+ 01 02 │ ..
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,10 +33,6 @@
|
|||
+ }
|
||||
+
|
||||
+ ALLOC1 (size: 2, align: 1) {
|
||||
+ 01 02 │ ..
|
||||
+ }
|
||||
+
|
||||
+ ALLOC2 (size: 2, align: 1) {
|
||||
+ 01 02 │ ..
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,10 +15,11 @@
|
|||
StorageLive(_1);
|
||||
- StorageLive(_2);
|
||||
- _2 = const 1_usize as &mut Never (Transmute);
|
||||
- _1 = &mut (*_2);
|
||||
- StorageDead(_2);
|
||||
+ nop;
|
||||
+ _2 = const {0x1 as &mut Never};
|
||||
_1 = &mut (*_2);
|
||||
- StorageDead(_2);
|
||||
+ _1 = const {0x1 as &mut Never};
|
||||
+ nop;
|
||||
unreachable;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,10 +15,11 @@
|
|||
StorageLive(_1);
|
||||
- StorageLive(_2);
|
||||
- _2 = const 1_usize as &mut Never (Transmute);
|
||||
- _1 = &mut (*_2);
|
||||
- StorageDead(_2);
|
||||
+ nop;
|
||||
+ _2 = const {0x1 as &mut Never};
|
||||
_1 = &mut (*_2);
|
||||
- StorageDead(_2);
|
||||
+ _1 = const {0x1 as &mut Never};
|
||||
+ nop;
|
||||
unreachable;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue