Add a new VSELECT node.
authorChris Lattner <sabre@nondot.org>
Sat, 8 Apr 2006 22:16:01 +0000 (22:16 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 8 Apr 2006 22:16:01 +0000 (22:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27541 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index 0076a637b2afce9a82e928abbd5f9957cd0c0f76..b6acb95c9cb036306d6cc2d299018b5e9532c893 100644 (file)
@@ -230,6 +230,11 @@ namespace ISD {
     VADD, VSUB, VMUL, VSDIV, VUDIV,
     VAND, VOR, VXOR,
     
+    /// VSELECT(COND,LHS,RHS,  COUNT,TYPE) - Select for MVT::Vector values.
+    /// COND is a boolean value.  This node return LHS if COND is true, RHS if
+    /// COND is false.
+    VSELECT,
+    
     /// SCALAR_TO_VECTOR(VAL) - This represents the operation of loading a
     /// scalar value into the low element of the resultant vector type.  The top
     /// elements of the vector are undefined.