1 - // MIR for `match_nested_if` before MatchBranchSimplification
2 + // MIR for `match_nested_if` after MatchBranchSimplification
4 fn match_nested_if() -> bool {
5 let mut _0: bool; // return place in scope 0 at $DIR/matches_reduce_branches.rs:39:25: 39:29
6 let _1: bool; // in scope 0 at $DIR/matches_reduce_branches.rs:40:9: 40:12
7 let mut _2: bool; // in scope 0 at $DIR/matches_reduce_branches.rs:41:24: 41:28
8 + let mut _3: bool; // in scope 0 at $DIR/matches_reduce_branches.rs:41:24: 41:28
10 debug val => _1; // in scope 1 at $DIR/matches_reduce_branches.rs:40:9: 40:12
14 StorageLive(_1); // scope 0 at $DIR/matches_reduce_branches.rs:40:9: 40:12
15 StorageLive(_2); // scope 0 at $DIR/matches_reduce_branches.rs:41:24: 41:28
16 _2 = const true; // scope 0 at $DIR/matches_reduce_branches.rs:41:24: 41:28
17 - switchInt(move _2) -> [false: bb2, otherwise: bb1]; // scope 0 at $DIR/matches_reduce_branches.rs:41:24: 41:28
21 + StorageLive(_3); // scope 0 at $DIR/matches_reduce_branches.rs:41:24: 41:28
22 + _3 = move _2; // scope 0 at $DIR/matches_reduce_branches.rs:41:24: 41:28
23 StorageDead(_2); // scope 0 at $DIR/matches_reduce_branches.rs:41:51: 41:52
24 - _1 = const true; // scope 0 at $DIR/matches_reduce_branches.rs:47:13: 47:17
25 - goto -> bb3; // scope 0 at $DIR/matches_reduce_branches.rs:47:13: 47:17
29 - StorageDead(_2); // scope 0 at $DIR/matches_reduce_branches.rs:41:51: 41:52
30 - _1 = const false; // scope 0 at $DIR/matches_reduce_branches.rs:49:14: 49:19
31 - goto -> bb3; // scope 0 at $DIR/matches_reduce_branches.rs:49:14: 49:19
35 + _1 = Ne(_3, const false); // scope 0 at $DIR/matches_reduce_branches.rs:49:14: 49:19
36 + StorageDead(_3); // scope 0 at $DIR/matches_reduce_branches.rs:41:24: 41:28
37 _0 = _1; // scope 1 at $DIR/matches_reduce_branches.rs:51:5: 51:8
38 StorageDead(_1); // scope 0 at $DIR/matches_reduce_branches.rs:52:1: 52:2
39 return; // scope 0 at $DIR/matches_reduce_branches.rs:52:2: 52:2