aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuraid Madina <duraid@octopus.com.au>2006-01-11 03:50:40 +0000
committerDuraid Madina <duraid@octopus.com.au>2006-01-11 03:50:40 +0000
commitbf0945877ecc2d9562d70e3097fdcf8555a474cd (patch)
tree6cd6b5ae5d42d233bef2c0095945aaaca91000e9
parent3b628f8388cd794ae0e76bd07e54bdbdc7c29f21 (diff)
cleanup GETFD
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25198 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/IA64/IA64ISelDAGToDAG.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Target/IA64/IA64ISelDAGToDAG.cpp b/lib/Target/IA64/IA64ISelDAGToDAG.cpp
index 09ad629640..8c6ae0fae3 100644
--- a/lib/Target/IA64/IA64ISelDAGToDAG.cpp
+++ b/lib/Target/IA64/IA64ISelDAGToDAG.cpp
@@ -411,10 +411,9 @@ SDOperand IA64DAGToDAGISel::Select(SDOperand Op) {
case IA64ISD::GETFD: {
SDOperand Input = Select(N->getOperand(0));
- SDOperand Result = CurDAG->getTargetNode(IA64::GETFD, MVT::i64, MVT::Flag, Input);
- CodeGenMap[Op.getValue(0)] = Result;
- CodeGenMap[Op.getValue(1)] = Result.getValue(1);
- return Result.getValue(Op.ResNo);
+ SDOperand Result = CurDAG->getTargetNode(IA64::GETFD, MVT::i64, Input);
+ CodeGenMap[Op] = Result;
+ return Result;
}
case ISD::CALL: