1 - // MIR for `main` before SimplifyCfg-initial
2 + // MIR for `main` after SimplifyCfg-initial
5 let mut _0: (); // return place in scope 0 at $DIR/simplify_cfg.rs:5:11: 5:11
6 let mut _1: (); // in scope 0 at $DIR/simplify_cfg.rs:5:1: 11:2
7 let mut _2: bool; // in scope 0 at $DIR/simplify_cfg.rs:7:12: 7:17
8 let mut _3: !; // in scope 0 at $DIR/simplify_cfg.rs:7:18: 9:10
11 - goto -> bb1; // scope 0 at $DIR/simplify_cfg.rs:6:5: 10:6
12 + falseUnwind -> [real: bb1, cleanup: bb2]; // scope 0 at $DIR/simplify_cfg.rs:6:5: 10:6
16 - falseUnwind -> [real: bb3, cleanup: bb4]; // scope 0 at $DIR/simplify_cfg.rs:6:5: 10:6
20 - goto -> bb13; // scope 0 at $DIR/simplify_cfg.rs:11:2: 11:2
24 StorageLive(_2); // scope 0 at $DIR/simplify_cfg.rs:7:12: 7:17
25 - _2 = bar() -> [return: bb5, unwind: bb4]; // scope 0 at $DIR/simplify_cfg.rs:7:12: 7:17
26 + _2 = bar() -> [return: bb3, unwind: bb2]; // scope 0 at $DIR/simplify_cfg.rs:7:12: 7:17
28 // + span: $DIR/simplify_cfg.rs:7:12: 7:15
29 // + literal: Const { ty: fn() -> bool {bar}, val: Value(Scalar(<ZST>)) }
34 resume; // scope 0 at $DIR/simplify_cfg.rs:5:1: 11:2
39 FakeRead(ForMatchedPlace, _2); // scope 0 at $DIR/simplify_cfg.rs:7:12: 7:17
40 - switchInt(_2) -> [false: bb7, otherwise: bb6]; // scope 0 at $DIR/simplify_cfg.rs:7:9: 9:10
41 + switchInt(_2) -> [false: bb5, otherwise: bb4]; // scope 0 at $DIR/simplify_cfg.rs:7:9: 9:10
45 - falseEdge -> [real: bb8, imaginary: bb7]; // scope 0 at $DIR/simplify_cfg.rs:7:9: 9:10
47 + falseEdge -> [real: bb6, imaginary: bb5]; // scope 0 at $DIR/simplify_cfg.rs:7:9: 9:10
52 _1 = const (); // scope 0 at $DIR/simplify_cfg.rs:7:9: 9:10
53 - goto -> bb12; // scope 0 at $DIR/simplify_cfg.rs:7:9: 9:10
54 + StorageDead(_2); // scope 0 at $DIR/simplify_cfg.rs:10:5: 10:6
55 + goto -> bb0; // scope 0 at $DIR/simplify_cfg.rs:6:5: 10:6
60 _0 = const (); // scope 0 at $DIR/simplify_cfg.rs:8:13: 8:18
61 - goto -> bb9; // scope 0 at $DIR/simplify_cfg.rs:8:13: 8:18
65 StorageDead(_2); // scope 0 at $DIR/simplify_cfg.rs:10:5: 10:6
66 - goto -> bb2; // scope 0 at $DIR/simplify_cfg.rs:8:13: 8:18
70 - unreachable; // scope 0 at $DIR/simplify_cfg.rs:7:18: 9:10
74 - goto -> bb12; // scope 0 at $DIR/simplify_cfg.rs:7:9: 9:10
78 - StorageDead(_2); // scope 0 at $DIR/simplify_cfg.rs:10:5: 10:6
79 - goto -> bb1; // scope 0 at $DIR/simplify_cfg.rs:6:5: 10:6
83 return; // scope 0 at $DIR/simplify_cfg.rs:11:2: 11:2