mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Allow setcc operations to have non-bool types.
llvm-svn: 19655
This commit is contained in:
parent
b3edb09ede
commit
818e819e43
@ -131,7 +131,8 @@ public:
|
||||
return NN;
|
||||
}
|
||||
|
||||
SDOperand getSetCC(ISD::CondCode, SDOperand LHS, SDOperand RHS);
|
||||
SDOperand getSetCC(ISD::CondCode, MVT::ValueType VT,
|
||||
SDOperand LHS, SDOperand RHS);
|
||||
|
||||
/// getNode - Gets or creates the specified node.
|
||||
///
|
||||
|
@ -707,7 +707,6 @@ protected:
|
||||
friend class SelectionDAG;
|
||||
SetCCSDNode(ISD::CondCode Cond, SDOperand LHS, SDOperand RHS)
|
||||
: SDNode(ISD::SETCC, LHS, RHS), Condition(Cond) {
|
||||
setValueTypes(MVT::i1);
|
||||
}
|
||||
public:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user