blob: ff6f4f5d397c18334e2d67c7e9573080b69ff975 [file]
- // MIR for `main` before SimplifyConstCondition-after-inst-simplify
+ // MIR for `main` after SimplifyConstCondition-after-inst-simplify
fn main() -> () {
let mut _0: ();
let mut _1: bool;
let _2: ();
bb0: {
StorageLive(_1);
_1 = const false;
- switchInt(move _1) -> [0: bb3, otherwise: bb1];
+ goto -> bb3;
}
bb1: {
_2 = noop() -> [return: bb2, unwind continue];
}
bb2: {
_0 = const ();
goto -> bb4;
}
bb3: {
_0 = const ();
goto -> bb4;
}
bb4: {
StorageDead(_1);
return;
}
}