Add a new node
authorChris Lattner <sabre@nondot.org>
Tue, 28 Mar 2006 19:54:11 +0000 (19:54 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 28 Mar 2006 19:54:11 +0000 (19:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27230 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index 8e81b9f7c49f5ed9b765835f786ae80c38ac38f2..cf5955d63140d4ac6e04082c382d65ecadb873b2 100644 (file)
@@ -189,6 +189,15 @@ namespace ISD {
     /// element number IDX.
     EXTRACT_VECTOR_ELT,
     
+    /// VVECTOR_SHUFFLE(VEC1, VEC2, SHUFFLEVEC, COUNT,TYPE) - Returns a vector,
+    /// of the same type as VEC1/VEC2.  SHUFFLEVEC is a VBUILD_VECTOR of
+    /// constant int values 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.
+    VVECTOR_SHUFFLE,
+
     /// 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