aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-11-21 02:24:44 +0000
committerBill Wendling <isanbard@gmail.com>2008-11-21 02:24:44 +0000
commite1a6d160e53fcac749d450d17845d0da5fd4f26e (patch)
tree22a1435cb803459caca8caa2776fdf37a3dbc900 /include/llvm
parent6c63f62729fbd7cdf66f96ad52ea1bba62851311 (diff)
downloadexternal_llvm-e1a6d160e53fcac749d450d17845d0da5fd4f26e.zip
external_llvm-e1a6d160e53fcac749d450d17845d0da5fd4f26e.tar.gz
external_llvm-e1a6d160e53fcac749d450d17845d0da5fd4f26e.tar.bz2
Update comment to reflect a semblance of reality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59784 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 93d2b64..2698233 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -250,13 +250,12 @@ namespace ISD {
// values.
ADDE, SUBE,
- // 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.
+ // RESULT, BOOL = [SU]ADDO(LHS, RHS) - Overflow-aware nodes for arithmetic
+ // operations. These nodes takes two operands: the normal lhs and rhs to the
+ // add. They produce two results: the normal result of the add, and a
+ // boolean to indicate if an overflow occured (*not* a flag, because it may
+ // be stored to memory, etc.). These nodes is generated from the
+ // llvm.[su]add.with.overflow intrinsics.
SADDO, UADDO,
// Simple binary floating point operators.