blob: 07f179dfdd454a2d62c0336d9f5a1199ff0f08c0 [file] [log] [blame]
- // 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: bb2, otherwise: bb1];
+ goto -> bb2;
}
bb1: {
_2 = noop() -> [return: bb2, unwind continue];
}
bb2: {
StorageDead(_1);
return;
}
}