forked from OSchip/llvm-project
Implement the custom lowering hook right, returning values for all of the
arguments at once. llvm-svn: 28327
This commit is contained in:
parent
7b8b8bbbf9
commit
c7df70db57
|
|
@ -3519,7 +3519,11 @@ X86TargetLowering::LowerFORMAL_ARGUMENTS(SDOperand Op, SelectionDAG &DAG) {
|
|||
else
|
||||
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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue