Skip to content

Commit 979d260

Browse files
committedMar 19, 2006
add a node
llvm-svn: 26879
1 parent 07e9d9d commit 979d260

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 

‎llvm/include/llvm/CodeGen/SelectionDAGNodes.h

+9
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,15 @@ namespace ISD {
157157
/// type) with the element at IDX replaced with VAL.
158158
INSERT_VECTOR_ELT,
159159

160+
/// VECTOR_SHUFFLE(VEC1, VEC2, SHUFFLEVEC) - Returns a vector, of the same
161+
/// type as VEC1/VEC2. SHUFFLEVEC is a BUILD_VECTOR of constant int values
162+
/// (regardless of whether its datatype is legal or not) that indicate
163+
/// which value each result element will get. The elements of VEC1/VEC2 are
164+
/// enumerated in order. This is quite similar to the Altivec 'vperm'
165+
/// instruction, except that the indices must be constants and are in terms
166+
/// of the element size of VEC1/VEC2, not in terms of bytes.
167+
VECTOR_SHUFFLE,
168+
160169
/// BINOP(LHS, RHS, COUNT,TYPE)
161170
/// Simple abstract vector operators. Unlike the integer and floating point
162171
/// binary operators, these nodes also take two additional operands:

0 commit comments

Comments
 (0)
Please sign in to comment.