[codegen] add intcc conditions for reading overflow flag
Add conditions to IntCC for checking the overflow flag (Overflow, NotOverflow).
This commit is contained in:
committed by
Benjamin Bouvier
parent
dfdd504edc
commit
43a891dfa2
@@ -1587,6 +1587,7 @@ pub(crate) fn define(
|
||||
let y = &operand("y", Int);
|
||||
|
||||
// TODO(ryzokuken): Add documentation for unsigned overflow.
|
||||
// TODO(ryzokuken): Add documentation for signed overflow.
|
||||
ig.push(
|
||||
Inst::new(
|
||||
"icmp",
|
||||
|
||||
Reference in New Issue
Block a user