blob: ee044aa5a0b18cd20eca91db5c9481d2e2a9a393 [file]
- // MIR for `repeat_local_dead` before GVN
+ // MIR for `repeat_local_dead` after GVN
fn repeat_local_dead(_1: usize, _2: usize, _3: i32) -> i32 {
let mut _0: i32;
let mut _4: [i32; 5];
let mut _5: &i32;
bb0: {
_4 = [copy _3; 5];
_5 = &_4[_1];
- StorageDead(_3);
- _0 = copy (*_5);
+ nop;
+ _0 = copy _3;
return;
}
}