about summary refs log tree commit diff
path: root/tests/mir-opt/pre-codegen/matches_macro.issue_77355_opt.PreCodegen.after.mir
blob: 2d6f82f6137fb1db1a2818c80590726407e4379a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// MIR for `issue_77355_opt` after PreCodegen

fn issue_77355_opt(_1: Foo) -> u64 {
    debug num => _1;
    let mut _0: u64;
    let mut _2: isize;
    scope 1 {
    }

    bb0: {
        _2 = discriminant(_1);
        switchInt(move _2) -> [1: bb1, 2: bb1, otherwise: bb2];
    }

    bb1: {
        _0 = const 23_u64;
        return;
    }

    bb2: {
        _0 = const 42_u64;
        return;
    }
}