summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit141afce6affa669d9307b2fc91697434825ebfd8 (patch)
tree20b30f184e914a28f7078dc5848f04d23fa91abb /llvm
parent3f9c17906f6ee6ccfd67a982dc9dbbb8b092c5fe (diff)
downloadbcm5719-llvm-141afce6affa669d9307b2fc91697434825ebfd8.tar.gz
bcm5719-llvm-141afce6affa669d9307b2fc91697434825ebfd8.zip
Add a new VSELECT node.
llvm-svn: 27541
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/CodeGen/SelectionDAGNodes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
index 0076a637b2a..b6acb95c9cb 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud