mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Yet another getTargetNode() variant. I promise one of these days I'll fix
tblgen so this is unnecessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25380 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
79959d21c7
commit
4e4937836e
@ -474,6 +474,18 @@ public:
|
||||
Ops.push_back(Op7);
|
||||
return getNode(ISD::BUILTIN_OP_END+Opcode, ResultTys, Ops);
|
||||
}
|
||||
SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT1,
|
||||
MVT::ValueType VT2, MVT::ValueType VT3,
|
||||
SDOperand Op1, SDOperand Op2) {
|
||||
std::vector<MVT::ValueType> ResultTys;
|
||||
ResultTys.push_back(VT1);
|
||||
ResultTys.push_back(VT2);
|
||||
ResultTys.push_back(VT3);
|
||||
std::vector<SDOperand> Ops;
|
||||
Ops.push_back(Op1);
|
||||
Ops.push_back(Op2);
|
||||
return getNode(ISD::BUILTIN_OP_END+Opcode, ResultTys, Ops);
|
||||
}
|
||||
SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT1,
|
||||
MVT::ValueType VT2, MVT::ValueType VT3,
|
||||
SDOperand Op1, SDOperand Op2,
|
||||
|
Loading…
Reference in New Issue
Block a user