summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2012-01-18 20:50:30 +0000
committerNadav Rotem <nadav.rotem@intel.com>2012-01-18 20:50:30 +0000
commitc3cc110bb43a3d84782a7f72210cd68e15870d04 (patch)
tree9d016f0c952afe9bdd7ecc212ccb19645f529ad8
parent1bea4bf590fd9d67ad64e6014b543970bfbaeb0b (diff)
downloadbcm5719-llvm-c3cc110bb43a3d84782a7f72210cd68e15870d04.tar.gz
bcm5719-llvm-c3cc110bb43a3d84782a7f72210cd68e15870d04.zip
Document the fact that the selection dag changes the vselect condition type
llvm-svn: 148411
-rw-r--r--llvm/include/llvm/CodeGen/ISDOpcodes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/ISDOpcodes.h b/llvm/include/llvm/CodeGen/ISDOpcodes.h
index cb990edac18..8fb76040e82 100644
--- a/llvm/include/llvm/CodeGen/ISDOpcodes.h
+++ b/llvm/include/llvm/CodeGen/ISDOpcodes.h
@@ -323,6 +323,9 @@ namespace ISD {
// and #2), returning a vector result. All vectors have the same length.
// Much like the scalar select and setcc, each bit in the condition selects
// whether the corresponding result element is taken from op #1 or op #2.
+ // At first, the VSELECT condition is of vXi1 type. Later, targets may change
+ // the condition type in order to match the VSELECT node using a a pattern.
+ // The condition follows the BooleanContent format of the target.
VSELECT,
// Select with condition operator - This selects between a true value and
OpenPOWER on IntegriCloud