[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
Chris Lattner
lattner at cs.uiuc.edu
Sun Mar 19 15:43:03 PST 2006
Changes in directory llvm/include/llvm/CodeGen:
SelectionDAGNodes.h updated: 1.115 -> 1.116
---
Log message:
add a node
---
Diffs of the changes: (+9 -0)
SelectionDAGNodes.h | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.115 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.116
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.115 Sat Mar 18 23:26:45 2006
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h Sun Mar 19 17:42:51 2006
@@ -157,6 +157,15 @@
/// type) with the element at IDX replaced with VAL.
INSERT_VECTOR_ELT,
+ /// VECTOR_SHUFFLE(VEC1, VEC2, SHUFFLEVEC) - Returns a vector, of the same
+ /// type as VEC1/VEC2. SHUFFLEVEC is a BUILD_VECTOR of constant int values
+ /// (regardless of whether its datatype is legal or not) that indicate
+ /// which value each result element will get. The elements of VEC1/VEC2 are
+ /// enumerated in order. This is quite similar to the Altivec 'vperm'
+ /// instruction, except that the indices must be constants and are in terms
+ /// of the element size of VEC1/VEC2, not in terms of bytes.
+ VECTOR_SHUFFLE,
+
/// BINOP(LHS, RHS, COUNT,TYPE)
/// Simple abstract vector operators. Unlike the integer and floating point
/// binary operators, these nodes also take two additional operands:
More information about the llvm-commits
mailing list