From: Chris Lattner Date: Wed, 22 Mar 2006 19:56:46 +0000 (+0000) Subject: add a new node X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=762f2ae0c4c07a93fd2f830fb079692dbccef85c;p=oota-llvm.git add a new node git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26958 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index fd134aa6c8c..70e4f338409 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -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: