about summary refs log tree commit diff
path: root/tests/mir-opt/inline/unchecked_shifts.unchecked_shl_unsigned_smaller.PreCodegen.after.panic-unwind.mir
blob: 0fc7c4b7947e287c9293492f17632ea5b41b9851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// MIR for `unchecked_shl_unsigned_smaller` after PreCodegen

fn unchecked_shl_unsigned_smaller(_1: u16, _2: u32) -> u16 {
    debug a => _1;
    debug b => _2;
    let mut _0: u16;
    scope 1 (inlined #[track_caller] core::num::<impl u16>::unchecked_shl) {
        scope 2 (inlined core::ub_checks::check_language_ub) {
            scope 3 (inlined core::ub_checks::check_language_ub::runtime) {
            }
        }
    }

    bb0: {
        _0 = ShlUnchecked(copy _1, copy _2);
        return;
    }
}