2024-01-06 12:34:25 -06:00
|
|
|
- // MIR for `cycle` before DeadStoreElimination-initial
|
|
|
|
+ // MIR for `cycle` after DeadStoreElimination-initial
|
2023-01-12 14:04:42 -06:00
|
|
|
|
|
|
|
fn cycle(_1: i32, _2: i32, _3: i32) -> () {
|
|
|
|
let mut _0: ();
|
|
|
|
let mut _4: bool;
|
2024-01-07 06:22:33 -06:00
|
|
|
let mut _5: i32;
|
2023-01-12 14:04:42 -06:00
|
|
|
|
|
|
|
bb0: {
|
|
|
|
_4 = cond() -> [return: bb1, unwind continue];
|
|
|
|
}
|
|
|
|
|
|
|
|
bb1: {
|
|
|
|
switchInt(copy _4) -> [1: bb2, otherwise: bb3];
|
|
|
|
}
|
|
|
|
|
|
|
|
bb2: {
|
|
|
|
- _5 = copy _3;
|
|
|
|
- _3 = copy _2;
|
|
|
|
- _2 = copy _1;
|
|
|
|
- _1 = copy _5;
|
2024-01-07 06:22:33 -06:00
|
|
|
+ nop;
|
|
|
|
+ nop;
|
|
|
|
+ nop;
|
|
|
|
+ nop;
|
2023-01-12 14:04:42 -06:00
|
|
|
_4 = cond() -> [return: bb1, unwind continue];
|
|
|
|
}
|
|
|
|
|
|
|
|
bb3: {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|