mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
Fix a huge annoyance: SelectNodeTo took types before the opcode unlike
every other SD API. Fix it to take the opcode before the types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23079 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -223,22 +223,22 @@ public:
|
||||
/// specified node to have the specified return type, Target opcode, and
|
||||
/// operands. Note that target opcodes are stored as
|
||||
/// ISD::BUILTIN_OP_END+TargetOpcode in the node opcode field.
|
||||
void SelectNodeTo(SDNode *N, MVT::ValueType VT, unsigned TargetOpc);
|
||||
void SelectNodeTo(SDNode *N, MVT::ValueType VT, unsigned TargetOpc,
|
||||
void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT);
|
||||
void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT,
|
||||
SDOperand Op1);
|
||||
void SelectNodeTo(SDNode *N, MVT::ValueType VT, unsigned TargetOpc,
|
||||
void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT,
|
||||
SDOperand Op1, SDOperand Op2);
|
||||
void SelectNodeTo(SDNode *N, MVT::ValueType VT, unsigned TargetOpc,
|
||||
void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT,
|
||||
SDOperand Op1, SDOperand Op2, SDOperand Op3);
|
||||
void SelectNodeTo(SDNode *N, MVT::ValueType VT, unsigned TargetOpc,
|
||||
void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT,
|
||||
SDOperand Op1, SDOperand Op2, SDOperand Op3, SDOperand Op4);
|
||||
void SelectNodeTo(SDNode *N, MVT::ValueType VT, unsigned TargetOpc,
|
||||
void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT,
|
||||
SDOperand Op1, SDOperand Op2, SDOperand Op3, SDOperand Op4,
|
||||
SDOperand Op5);
|
||||
void SelectNodeTo(SDNode *N, MVT::ValueType VT1, MVT::ValueType VT2,
|
||||
unsigned TargetOpc, SDOperand Op1, SDOperand Op2);
|
||||
void SelectNodeTo(SDNode *N, MVT::ValueType VT1, MVT::ValueType VT2,
|
||||
unsigned TargetOpc, SDOperand Op1, SDOperand Op2,
|
||||
void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT1,
|
||||
MVT::ValueType VT2, SDOperand Op1, SDOperand Op2);
|
||||
void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT1,
|
||||
MVT::ValueType VT2, SDOperand Op1, SDOperand Op2,
|
||||
SDOperand Op3);
|
||||
|
||||
SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT,
|
||||
|
Reference in New Issue
Block a user