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

Chris Lattner lattner at cs.uiuc.edu
Fri Mar 17 17:43:40 PST 2006



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAGNodes.h updated: 1.112 -> 1.113
---
Log message:

Update comments.


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

 SelectionDAGNodes.h |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)


Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.112 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.113
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.112	Fri Mar 17 13:53:41 2006
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h	Fri Mar 17 19:43:28 2006
@@ -85,9 +85,10 @@
     TargetConstantPool,
     TargetExternalSymbol,
 
-    // Abstract version of ConstantVec with abstract Vector type. The first node
-    // is a constant element count, the second is a value type indicating the
-    // type of the elements.
+    // Abstract version of ConstantVec with abstract Vector type. The first N-2
+    // operands are the constants to initialize the vector, the N-2nd operand
+    // is a constant element count, and that last operand is the value type
+    // indicating the type of the elements.
     VConstant,
 
     // CopyToReg - This node has three operands: a chain, a register number to
@@ -157,7 +158,7 @@
     // a constant element count, and a value type node indicating the type of
     // the elements.  The order is count, type, op0, op1.  All vector opcodes,
     // including VLOAD and VConstant must currently have count and type as
-    // their 1st and 2nd arguments.
+    // their last two operands.
     VADD, VSUB, VMUL, VSDIV, VUDIV,
     VAND, VOR, VXOR,
 






More information about the llvm-commits mailing list