We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2012d84 commit cd6f51cCopy full SHA for cd6f51c
llvm/include/llvm/Target/TargetLowering.h
@@ -116,8 +116,11 @@ class TargetLowering {
116
/// srl/add/sra.
117
bool isPow2DivCheap() const { return Pow2DivIsCheap; }
118
119
- /// getSetCCResultType - Return the ValueType of the result of setcc
120
- /// operations.
+ /// getSetCCResultType - Return the ValueType of the result of SETCC
+ /// operations. Also used to obtain the target's preferred type for
121
+ /// the condition operand of SELECT and BRCOND nodes. In the case of
122
+ /// BRCOND the argument passed is MVT::Other since there are no other
123
+ /// operands to get a type hint from.
124
virtual MVT getSetCCResultType(MVT VT) const;
125
126
/// getBooleanContents - For targets without i1 registers, this gives the
0 commit comments