2021-11-30 20:54:37 -06:00
|
|
|
- // MIR for `main` before SimplifyConstCondition-after-const-prop
|
|
|
|
+ // MIR for `main` after SimplifyConstCondition-after-const-prop
|
2020-04-02 16:09:01 -05:00
|
|
|
|
|
|
|
fn main() -> () {
|
2023-06-06 08:47:00 -05:00
|
|
|
let mut _0: ();
|
2023-09-16 12:13:30 -05:00
|
|
|
let _1: ();
|
2020-04-02 16:09:01 -05:00
|
|
|
|
|
|
|
bb0: {
|
2024-01-06 18:30:08 -06:00
|
|
|
- switchInt(const false) -> [0: bb2, otherwise: bb1];
|
|
|
|
+ goto -> bb2;
|
2020-04-02 16:09:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb1: {
|
2023-09-16 12:13:30 -05:00
|
|
|
_1 = noop() -> [return: bb2, unwind continue];
|
2020-04-02 16:09:01 -05:00
|
|
|
}
|
|
|
|
|
2021-01-01 12:38:11 -06:00
|
|
|
bb2: {
|
2023-06-06 08:47:00 -05:00
|
|
|
return;
|
2020-04-02 16:09:01 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|