fork/rust

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

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

master
653 B27 linesraw
1// MIR for `unchecked_shl_unsigned_smaller` after PreCodegen
2
3fn unchecked_shl_unsigned_smaller(_1: u16, _2: u32) -> u16 {
4    debug a => _1;
5    debug b => _2;
6    let mut _0: u16;
7    scope 1 (inlined core::num::<impl u16>::unchecked_shl) {
8        debug self => _1;
9        debug rhs => _2;
10        let mut _3: bool;
11        let mut _4: u16;
12        scope 2 {
13        }
14    }
15
16    bb0: {
17        StorageLive(_4);
18        StorageLive(_3);
19        _3 = Le(_2, const 65535_u32);
20        assume(move _3);
21        StorageDead(_3);
22        _4 = _2 as u16 (IntToInt);
23        _0 = ShlUnchecked(_1, move _4);
24        StorageDead(_4);
25        return;
26    }
27}