mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
Rename "ADDO" to "SADDO" and "UADDO". The "UADDO" isn't equivalent to "ADDC"
because the boolean it returns to indicate an overflow may not be treated like as a flag. It could be stored to memory, for instance. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59780 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -250,13 +250,14 @@ namespace ISD {
|
||||
// values.
|
||||
ADDE, SUBE,
|
||||
|
||||
// RESULT, OVERFLOW_FLAG, OUTCHAIN = ADDO(INCHAIN, LHS, RHS) -
|
||||
// Overflow-aware node for arithmetic operations. This node takes two
|
||||
// operands: the normal lhs and rhs to the add. It produces two results: the
|
||||
// normal result of the add, and a flag indicating whether an overflow
|
||||
// occured. This node is generated from the llvm.sadd.with.overflow
|
||||
// intrinsic. It is lowered by target-dependent code.
|
||||
ADDO,
|
||||
// RESULT, BOOL, OUTCHAIN = [SU]ADDO(INCHAIN, LHS, RHS) - Overflow-aware
|
||||
// node for arithmetic operations. This node takes two operands: the normal
|
||||
// lhs and rhs to the add. It produces two results: the normal result of the
|
||||
// add, and a boolean to indicate if an overflow occured (this isn't a flag,
|
||||
// because it may be stored to memory, etc.). This node is generated from
|
||||
// the llvm.sadd.with.overflow intrinsic. It is lowered by target-dependent
|
||||
// code.
|
||||
SADDO, UADDO,
|
||||
|
||||
// Simple binary floating point operators.
|
||||
FADD, FSUB, FMUL, FDIV, FREM,
|
||||
|
Reference in New Issue
Block a user