mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-01 16:31:13 +00:00
eliminate use of getNode that takes vector of operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29611 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e21492bc4e
commit
e0e42d457e
@ -469,7 +469,8 @@ IA64TargetLowering::LowerCallTo(SDOperand Chain,
|
|||||||
assert(0 && "this should never happen!\n");
|
assert(0 && "this should never happen!\n");
|
||||||
|
|
||||||
// to make way for a hack:
|
// to make way for a hack:
|
||||||
Chain = DAG.getNode(IA64ISD::BRCALL, NodeTys, CallOperands);
|
Chain = DAG.getNode(IA64ISD::BRCALL, NodeTys,
|
||||||
|
&CallOperands[0], CallOperands.size());
|
||||||
InFlag = Chain.getValue(1);
|
InFlag = Chain.getValue(1);
|
||||||
|
|
||||||
// restore the GP, SP and RP after the call
|
// restore the GP, SP and RP after the call
|
||||||
@ -578,7 +579,8 @@ LowerOperation(SDOperand Op, SelectionDAG &DAG) {
|
|||||||
NodeTys.push_back(MVT::Flag);
|
NodeTys.push_back(MVT::Flag);
|
||||||
RetOperands.push_back(AR_PFSVal);
|
RetOperands.push_back(AR_PFSVal);
|
||||||
RetOperands.push_back(AR_PFSVal.getValue(1));
|
RetOperands.push_back(AR_PFSVal.getValue(1));
|
||||||
return DAG.getNode(IA64ISD::RET_FLAG, NodeTys, RetOperands);
|
return DAG.getNode(IA64ISD::RET_FLAG, NodeTys,
|
||||||
|
&RetOperands[0], RetOperands.size());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return SDOperand();
|
return SDOperand();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user