forked from OSchip/llvm-project
RET_FLAG has an optional input flag, but it does not produce a flag result.
llvm-svn: 29725
This commit is contained in:
parent
9d121b0897
commit
f2a7d5768a
|
@ -573,14 +573,8 @@ LowerOperation(SDOperand Op, SelectionDAG &DAG) {
|
|||
SDOperand());
|
||||
AR_PFSVal = DAG.getCopyToReg(Copy.getValue(0), IA64::AR_PFS, AR_PFSVal,
|
||||
Copy.getValue(1));
|
||||
std::vector<MVT::ValueType> NodeTys;
|
||||
std::vector<SDOperand> RetOperands;
|
||||
NodeTys.push_back(MVT::Other);
|
||||
NodeTys.push_back(MVT::Flag);
|
||||
RetOperands.push_back(AR_PFSVal);
|
||||
RetOperands.push_back(AR_PFSVal.getValue(1));
|
||||
return DAG.getNode(IA64ISD::RET_FLAG, NodeTys,
|
||||
&RetOperands[0], RetOperands.size());
|
||||
return DAG.getNode(IA64ISD::RET_FLAG, MVT::Other,
|
||||
AR_PFSVal, AR_PFSVal.getValue(1));
|
||||
}
|
||||
}
|
||||
return SDOperand();
|
||||
|
|
Loading…
Reference in New Issue