From a4a7e59c52aa5ea605a4607b481c6b65b0ec5257 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 8 Apr 2006 22:16:01 +0000 Subject: [PATCH] Add a new VSELECT node. llvm-svn: 27541 --- include/llvm/CodeGen/SelectionDAGNodes.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 0076a637b2a..b6acb95c9cb 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -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.