add a new node
authorChris Lattner <sabre@nondot.org>
Wed, 22 Mar 2006 19:56:46 +0000 (19:56 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 22 Mar 2006 19:56:46 +0000 (19:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26958 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index fd134aa6c8c55f6ff960d66d5dac2aadb040917a..70e4f33840904c6ac9ea8fd386b7683c4f1ec5a4 100644 (file)
@@ -176,6 +176,18 @@ namespace ISD {
     /// of the element size of VEC1/VEC2, not in terms of bytes.
     VECTOR_SHUFFLE,
     
+    /// X = VBIT_CONVERT(Y)  and X = VBIT_CONVERT(Y, COUNT,TYPE) - This node
+    /// represents a conversion from or to an ISD::Vector type.
+    ///
+    /// This is lowered to a BIT_CONVERT of the appropriate input/output types.
+    /// The input and output are required to have the same size and at least one
+    /// is required to be a vector.
+    ///
+    /// If the source is a vector, this takes three operands (like any other
+    /// vector consumer) which indicate the size and type of the vector input.
+    /// Otherwise it takes one input.
+    VBIT_CONVERT,
+    
     /// BINOP(LHS, RHS,  COUNT,TYPE)
     /// Simple abstract vector operators.  Unlike the integer and floating point
     /// binary operators, these nodes also take two additional operands: