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: bb5]; // scope 0 at $DIR/simplify_cfg.rs:6:5: 10:6
16 - falseUnwind -> [real: bb2, cleanup: bb10]; // scope 0 at $DIR/simplify_cfg.rs:6:5: 10:6
20 StorageLive(_2); // scope 0 at $DIR/simplify_cfg.rs:7:12: 7:17
21 - _2 = bar() -> [return: bb3, unwind: bb10]; // scope 0 at $DIR/simplify_cfg.rs:7:12: 7:17
22 + _2 = bar() -> [return: bb2, unwind: bb5]; // scope 0 at $DIR/simplify_cfg.rs:7:12: 7:17
24 // + span: $DIR/simplify_cfg.rs:7:12: 7: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:7:9: 9:10
31 + switchInt(move _2) -> [false: bb4, otherwise: bb3]; // scope 0 at $DIR/simplify_cfg.rs:7:9: 9:10
36 _0 = const (); // scope 0 at $DIR/simplify_cfg.rs:8:13: 8:18
37 - goto -> bb9; // scope 0 at $DIR/simplify_cfg.rs:8:13: 8:18
38 + StorageDead(_2); // scope 0 at $DIR/simplify_cfg.rs:9:9: 9:10
39 + return; // scope 0 at $DIR/simplify_cfg.rs:11:2: 11:2
44 _1 = const (); // scope 0 at $DIR/simplify_cfg.rs:9:10: 9:10
45 - goto -> bb8; // scope 0 at $DIR/simplify_cfg.rs:7:9: 9:10
49 - unreachable; // scope 0 at $DIR/simplify_cfg.rs:7:18: 9:10
53 - goto -> bb8; // scope 0 at $DIR/simplify_cfg.rs:7:9: 9:10
57 StorageDead(_2); // scope 0 at $DIR/simplify_cfg.rs:9:9: 9:10
58 - goto -> bb1; // scope 0 at $DIR/simplify_cfg.rs:6:5: 10:6
59 + goto -> bb0; // scope 0 at $DIR/simplify_cfg.rs:6:5: 10:6
63 - StorageDead(_2); // scope 0 at $DIR/simplify_cfg.rs:9:9: 9:10
64 - return; // scope 0 at $DIR/simplify_cfg.rs:11:2: 11:2
69 resume; // scope 0 at $DIR/simplify_cfg.rs:5:1: 11:2