]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/div_overflow.const_divisor.PreCodegen.after.mir
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.git] / tests / mir-opt / div_overflow.const_divisor.PreCodegen.after.mir
1 // MIR for `const_divisor` after PreCodegen
2
3 fn const_divisor(_1: i32) -> i32 {
4     debug a => _1;                       // in scope 0 at $DIR/div_overflow.rs:+0:22: +0:23
5     let mut _0: i32;                     // return place in scope 0 at $DIR/div_overflow.rs:+0:33: +0:36
6
7     bb0: {
8         _0 = Div(_1, const 256_i32);     // scope 0 at $DIR/div_overflow.rs:+1:5: +1:12
9         return;                          // scope 0 at $DIR/div_overflow.rs:+2:2: +2:2
10     }
11 }