summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/div_overflow.const_divisor.PreCodegen.after.mir
blob: 5526a194be563cb8ab98f4c0b4cab1669ed90ef4 (plain)
1
2
3
4
5
6
7
8
9
10
11
// MIR for `const_divisor` after PreCodegen

fn const_divisor(_1: i32) -> i32 {
    debug a => _1;                       // in scope 0 at $DIR/div_overflow.rs:+0:22: +0:23
    let mut _0: i32;                     // return place in scope 0 at $DIR/div_overflow.rs:+0:33: +0:36

    bb0: {
        _0 = Div(_1, const 256_i32);     // scope 0 at $DIR/div_overflow.rs:+1:5: +1:12
        return;                          // scope 0 at $DIR/div_overflow.rs:+2:2: +2:2
    }
}