- // MIR for `repeat_place` before GVN | |
+ // MIR for `repeat_place` after GVN | |
fn repeat_place(_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]; | |
_1 = copy _2; | |
_0 = copy (*_5); | |
return; | |
} | |
} | |