From: Nadav Rotem Date: Wed, 18 Jan 2012 20:50:30 +0000 (+0000) Subject: Document the fact that the selection dag changes the vselect condition type X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a402271351ba498a5d2bcae99a502c78a6fb15e1;p=oota-llvm.git Document the fact that the selection dag changes the vselect condition type git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148411 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/ISDOpcodes.h b/include/llvm/CodeGen/ISDOpcodes.h index cb990edac18..8fb76040e82 100644 --- a/include/llvm/CodeGen/ISDOpcodes.h +++ b/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