[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAGNodes.h

Chris Lattner lattner at cs.uiuc.edu
Tue Apr 5 21:21:42 PDT 2005



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAGNodes.h updated: 1.28 -> 1.29
---
Log message:

document these nodes, as they are nonobvious


---
Diffs of the changes:  (+5 -1)

 SelectionDAGNodes.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.28 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.29
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.28	Tue Apr  5 17:36:56 2005
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h	Tue Apr  5 23:21:29 2005
@@ -90,7 +90,11 @@
 
 
     // Simple binary arithmetic operators.
-    ADD, SUB, MUL, MULHU, MULHS, SDIV, UDIV, SREM, UREM,
+    ADD, SUB, MUL, SDIV, UDIV, SREM, UREM,
+
+    // MULHU/MULHS - Multiply high - Multiply two integers of type iN, producing
+    // an unsigned/signed value of type i[2*n], then return the top part.
+    MULHU, MULHS,
 
     // Bitwise operators.
     AND, OR, XOR, SHL, SRA, SRL,






More information about the llvm-commits mailing list