mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 04:31:08 +00:00
Allow setcc operations to have non-bool types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19655 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
883c86f510
commit
30c0fc23c5
@ -131,7 +131,8 @@ public:
|
|||||||
return NN;
|
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.
|
/// getNode - Gets or creates the specified node.
|
||||||
///
|
///
|
||||||
|
@ -707,7 +707,6 @@ protected:
|
|||||||
friend class SelectionDAG;
|
friend class SelectionDAG;
|
||||||
SetCCSDNode(ISD::CondCode Cond, SDOperand LHS, SDOperand RHS)
|
SetCCSDNode(ISD::CondCode Cond, SDOperand LHS, SDOperand RHS)
|
||||||
: SDNode(ISD::SETCC, LHS, RHS), Condition(Cond) {
|
: SDNode(ISD::SETCC, LHS, RHS), Condition(Cond) {
|
||||||
setValueTypes(MVT::i1);
|
|
||||||
}
|
}
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user