aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-08 22:16:01 +0000
committerChris Lattner <sabre@nondot.org>2006-04-08 22:16:01 +0000
commit49027e639eb40eef51837b55a3af17dcdb4d400a (patch)
tree38dfa183452d823b8cd82566a7aa1ea93d52948b
parent957e1674e797c8880114fb27a3aa1c32f9967329 (diff)
Add a new VSELECT node.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27541 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 0076a637b2..b6acb95c9c 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.