Document the fact that the selection dag changes the vselect condition type
authorNadav Rotem <nadav.rotem@intel.com>
Wed, 18 Jan 2012 20:50:30 +0000 (20:50 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Wed, 18 Jan 2012 20:50:30 +0000 (20:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148411 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/ISDOpcodes.h

index cb990edac180278bebb2dd9aa75e10544b2fbf66..8fb76040e82267464a1c968fa1de0ad5b7f437c9 100644 (file)
@@ -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