aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/IA64/IA64ISelLowering.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/Target/IA64/IA64ISelLowering.cpp b/lib/Target/IA64/IA64ISelLowering.cpp
index d4bc5d0ce2..3693d85890 100644
--- a/lib/Target/IA64/IA64ISelLowering.cpp
+++ b/lib/Target/IA64/IA64ISelLowering.cpp
@@ -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();