add some nodes for extractelement
authorChris Lattner <sabre@nondot.org>
Tue, 21 Mar 2006 20:43:08 +0000 (20:43 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 21 Mar 2006 20:43:08 +0000 (20:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26927 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index b3a83ce64be2862e0e72749fa194a733fb1f582c..fd134aa6c8c55f6ff960d66d5dac2aadb040917a 100644 (file)
@@ -156,6 +156,16 @@ namespace ISD {
     /// INSERT_VECTOR_ELT(VECTOR, VAL, IDX) - Returns VECTOR (a legal packed
     /// type) with the element at IDX replaced with VAL.
     INSERT_VECTOR_ELT,
+
+    /// VEXTRACT_VECTOR_ELT(VECTOR, IDX) - Returns a single element from VECTOR
+    /// (an MVT::Vector value) identified by the (potentially variable) element
+    /// number IDX.
+    VEXTRACT_VECTOR_ELT,
+    
+    /// EXTRACT_VECTOR_ELT(VECTOR, IDX) - Returns a single element from VECTOR
+    /// (a legal packed type vector) identified by the (potentially variable)
+    /// element number IDX.
+    EXTRACT_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