From 49c6d3eba8869cf945f6c55ea243466e2b406fe8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 19 Mar 2006 23:42:51 +0000 Subject: [PATCH] add a node git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26879 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/SelectionDAGNodes.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index e52ac2c8bd0..b3a83ce64be 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -157,6 +157,15 @@ namespace ISD { /// 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: -- 2.11.0