mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 20:34:38 +00:00
Implement the custom lowering hook right, returning values for all of the
arguments at once. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28327 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e7746c9084
commit
aa9406b0c4
@ -3519,7 +3519,11 @@ X86TargetLowering::LowerFORMAL_ARGUMENTS(SDOperand Op, SelectionDAG &DAG) {
|
|||||||
else
|
else
|
||||||
LowerCCCArguments(Op, DAG);
|
LowerCCCArguments(Op, DAG);
|
||||||
}
|
}
|
||||||
return FormalArgs[Op.ResNo];
|
|
||||||
|
// Return the new list of results.
|
||||||
|
std::vector<MVT::ValueType> RetVTs(Op.Val->value_begin(),
|
||||||
|
Op.Val->value_end());
|
||||||
|
return DAG.getNode(ISD::MERGE_VALUES, RetVTs, FormalArgs);
|
||||||
}
|
}
|
||||||
|
|
||||||
SDOperand X86TargetLowering::LowerMEMSET(SDOperand Op, SelectionDAG &DAG) {
|
SDOperand X86TargetLowering::LowerMEMSET(SDOperand Op, SelectionDAG &DAG) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user