mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Add a note about passing MVT::Other to getSetCCResultType.
llvm-svn: 61756
This commit is contained in:
parent
4e68cc9ef0
commit
9beb067cca
@ -116,8 +116,11 @@ public:
|
||||
/// srl/add/sra.
|
||||
bool isPow2DivCheap() const { return Pow2DivIsCheap; }
|
||||
|
||||
/// getSetCCResultType - Return the ValueType of the result of setcc
|
||||
/// operations.
|
||||
/// getSetCCResultType - Return the ValueType of the result of SETCC
|
||||
/// operations. Also used to obtain the target's preferred type for
|
||||
/// the condition operand of SELECT and BRCOND nodes. In the case of
|
||||
/// BRCOND the argument passed is MVT::Other since there are no other
|
||||
/// operands to get a type hint from.
|
||||
virtual MVT getSetCCResultType(MVT VT) const;
|
||||
|
||||
/// getBooleanContents - For targets without i1 registers, this gives the
|
||||
|
Loading…
Reference in New Issue
Block a user