From 49027e639eb40eef51837b55a3af17dcdb4d400a 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27541 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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. -- 2.34.1