1 - // MIR for `hello` before ConstProp
2 + // MIR for `hello` after ConstProp
5 let mut _0: (); // return place in scope 0 at $DIR/control-flow-simplification.rs:11:14: 11:14
6 let mut _1: bool; // in scope 0 at $DIR/control-flow-simplification.rs:12:8: 12:21
7 let mut _2: !; // in scope 0 at $SRC_DIR/std/src/panic.rs:LL:COL
10 StorageLive(_1); // scope 0 at $DIR/control-flow-simplification.rs:12:8: 12:21
11 - _1 = const <bool as NeedsDrop>::NEEDS; // scope 0 at $DIR/control-flow-simplification.rs:12:8: 12:21
12 - switchInt(move _1) -> [false: bb2, otherwise: bb1]; // scope 0 at $DIR/control-flow-simplification.rs:12:8: 12:21
13 + _1 = const false; // scope 0 at $DIR/control-flow-simplification.rs:12:8: 12:21
14 + switchInt(const false) -> [false: bb2, otherwise: bb1]; // scope 0 at $DIR/control-flow-simplification.rs:12:8: 12:21
18 StorageLive(_2); // scope 0 at $SRC_DIR/std/src/panic.rs:LL:COL
19 _2 = begin_panic::<&str>(const "explicit panic"); // scope 0 at $SRC_DIR/std/src/panic.rs:LL:COL
21 // + span: $SRC_DIR/std/src/panic.rs:LL:COL
22 // + literal: Const { ty: fn(&str) -> ! {begin_panic::<&str>}, val: Value(<ZST>) }
24 // + span: $SRC_DIR/std/src/panic.rs:LL:COL
25 // + literal: Const { ty: &str, val: Value(Slice(..)) }
29 nop; // scope 0 at $DIR/control-flow-simplification.rs:14:6: 14:6
30 StorageDead(_1); // scope 0 at $DIR/control-flow-simplification.rs:14:5: 14:6
31 return; // scope 0 at $DIR/control-flow-simplification.rs:15:2: 15:2