rust/tests/mir-opt/simplify_locals.d1.SimplifyLocals-before-const-prop.diff

19 lines
352 B
Diff
Raw Normal View History

2022-12-04 13:20:55 -06:00
- // MIR for `d1` before SimplifyLocals-before-const-prop
+ // MIR for `d1` after SimplifyLocals-before-const-prop
fn d1() -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
- let mut _1: E;
scope 1 {
}
bb0: {
2023-06-06 08:47:00 -05:00
- StorageLive(_1);
- _1 = E::A;
- StorageDead(_1);
_0 = const ();
return;
}
}