rust/tests/mir-opt/div_overflow.const_divisor.PreCodegen.after.mir
2023-01-27 18:22:45 +00:00

12 lines
472 B
Rust

// 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
}
}