summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-18 01:43:28 +0000
committerChris Lattner <sabre@nondot.org>2006-03-18 01:43:28 +0000
commita9567603596433fa264f1de6e78b629d3933c3c3 (patch)
treef907200aa8e583512c0c8ad7457dfea7ce53da99
parent9bf978dc20b83d8df0046238f8d81b52ed11d298 (diff)
downloadbcm5719-llvm-a9567603596433fa264f1de6e78b629d3933c3c3.tar.gz
bcm5719-llvm-a9567603596433fa264f1de6e78b629d3933c3c3.zip
Update comments.
llvm-svn: 26839
-rw-r--r--llvm/include/llvm/CodeGen/SelectionDAGNodes.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
index e04108e6947..81bdcc8d3c6 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -85,9 +85,10 @@ namespace ISD {
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 @@ namespace ISD {
// 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,
OpenPOWER on IntegriCloud