fork/rust

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

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

master
496 B27 linesraw
1// MIR for `ub_if_b` after PreCodegen
2
3fn ub_if_b(_1: Thing) -> Thing {
4    debug t => _1;
5    let mut _0: Thing;
6    let mut _2: isize;
7    scope 1 (inlined unreachable_unchecked) {
8        scope 2 {
9            scope 3 (inlined unreachable_unchecked::runtime) {
10            }
11        }
12    }
13
14    bb0: {
15        _2 = discriminant(_1);
16        switchInt(move _2) -> [0: bb1, otherwise: bb2];
17    }
18
19    bb1: {
20        _0 = move _1;
21        return;
22    }
23
24    bb2: {
25        unreachable;
26    }
27}