[codegen] add intcc conditions for reading carry flag
Add conditions to IntCC for checking the carry flag (Carry, NotCarry). Fixes: https://github.com/CraneStation/cranelift/issues/980
This commit is contained in:
committed by
Dan Gohman
parent
1431ab5201
commit
6e131e5347
@@ -1586,6 +1586,7 @@ pub(crate) fn define(
|
||||
let x = &operand("x", Int);
|
||||
let y = &operand("y", Int);
|
||||
|
||||
// TODO(ryzokuken): Add documentation for unsigned overflow.
|
||||
ig.push(
|
||||
Inst::new(
|
||||
"icmp",
|
||||
|
||||
Reference in New Issue
Block a user