fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
613 B32 linesraw
1- // MIR for `exhaustive_match_i8` before MatchBranchSimplification
2+ // MIR for `exhaustive_match_i8` after MatchBranchSimplification
3  
4  fn exhaustive_match_i8(_1: E) -> i8 {
5      debug e => _1;
6      let mut _0: i8;
7      let mut _2: isize;
8  
9      bb0: {
10          _2 = discriminant(_1);
11          switchInt(move _2) -> [0: bb3, 1: bb1, otherwise: bb2];
12      }
13  
14      bb1: {
15          _0 = const 1_i8;
16          goto -> bb4;
17      }
18  
19      bb2: {
20          unreachable;
21      }
22  
23      bb3: {
24          _0 = const 0_i8;
25          goto -> bb4;
26      }
27  
28      bb4: {
29          return;
30      }
31  }
32