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:7:11: 7:11
6 let mut _1: (); // in scope 0 at $DIR/simplify_cfg.rs:7:1: 13:2
7 let mut _2: bool; // in scope 0 at $DIR/simplify_cfg.rs:9:12: 9:17
8 let mut _3: !; // in scope 0 at $DIR/simplify_cfg.rs:9:18: 11:10
11 - goto -> bb1; // scope 0 at $DIR/simplify_cfg.rs:8:5: 12:6
12 + falseUnwind -> [real: bb1, cleanup: bb5]; // scope 0 at $DIR/simplify_cfg.rs:8:5: 12:6
16 - falseUnwind -> [real: bb2, cleanup: bb11]; // scope 0 at $DIR/simplify_cfg.rs:8:5: 12:6
20 StorageLive(_2); // scope 0 at $DIR/simplify_cfg.rs:9:12: 9:17
21 - _2 = bar() -> [return: bb3, unwind: bb11]; // scope 0 at $DIR/simplify_cfg.rs:9:12: 9:17
22 + _2 = bar() -> [return: bb2, unwind: bb5]; // scope 0 at $DIR/simplify_cfg.rs:9:12: 9:17
24 // + span: $DIR/simplify_cfg.rs:9:12: 9:15
25 // + literal: Const { ty: fn() -> bool {bar}, val: Value(Scalar(<ZST>)) }
29 - switchInt(move _2) -> [false: bb5, otherwise: bb4]; // scope 0 at $DIR/simplify_cfg.rs:9:12: 9:17
31 + switchInt(move _2) -> [false: bb4, otherwise: bb3]; // scope 0 at $DIR/simplify_cfg.rs:9:12: 9:17
36 _0 = const (); // scope 0 at $DIR/simplify_cfg.rs:10:13: 10:18
37 - goto -> bb10; // scope 0 at $DIR/simplify_cfg.rs:10:13: 10:18
38 + StorageDead(_2); // scope 0 at $DIR/simplify_cfg.rs:11:9: 11:10
39 + return; // scope 0 at $DIR/simplify_cfg.rs:13:2: 13:2
43 - goto -> bb8; // scope 0 at $DIR/simplify_cfg.rs:9:12: 9:17
47 - unreachable; // scope 0 at $DIR/simplify_cfg.rs:9:18: 11:10
51 - goto -> bb9; // scope 0 at $DIR/simplify_cfg.rs:9:9: 11:10
56 _1 = const (); // scope 0 at $DIR/simplify_cfg.rs:11:10: 11:10
57 - goto -> bb9; // scope 0 at $DIR/simplify_cfg.rs:9:9: 11:10
61 StorageDead(_2); // scope 0 at $DIR/simplify_cfg.rs:11:9: 11:10
62 - goto -> bb1; // scope 0 at $DIR/simplify_cfg.rs:8:5: 12:6
63 + goto -> bb0; // scope 0 at $DIR/simplify_cfg.rs:8:5: 12:6
67 - StorageDead(_2); // scope 0 at $DIR/simplify_cfg.rs:11:9: 11:10
68 - return; // scope 0 at $DIR/simplify_cfg.rs:13:2: 13:2
73 resume; // scope 0 at $DIR/simplify_cfg.rs:7:1: 13:2