rust/tests/mir-opt/div_overflow.const_divisor.PreCodegen.after.mir

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
472 B
Rust
Raw Normal View History

// 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: {
2023-01-12 12:23:48 -06:00
_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
}
}