[llvm-commits] [llvm] r59784 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

Bill Wendling isanbard at gmail.com
Thu Nov 20 18:24:44 PST 2008


Author: void
Date: Thu Nov 20 20:24:44 2008
New Revision: 59784

URL: http://llvm.org/viewvc/llvm-project?rev=59784&view=rev
Log:
Update comment to reflect a semblance of reality.

Modified:
    llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h?rev=59784&r1=59783&r2=59784&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Thu Nov 20 20:24:44 2008
@@ -250,13 +250,12 @@
     // 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.





More information about the llvm-commits mailing list