aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2007-02-08 17:37:41 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2007-02-08 17:37:41 +0000
commitac5a54504399a281053f91603221d5926dee220d (patch)
tree2dfe68fe17d2b42d5edccbe923830d0d46e52061 /lib
parenta99256e34e47d8509a1dd1c51160d86af8f7ddef (diff)
return addresses, those I already have
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34056 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/Alpha/AlphaISelLowering.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp
index 0d1cacf83c..1674d44435 100644
--- a/lib/Target/Alpha/AlphaISelLowering.cpp
+++ b/lib/Target/Alpha/AlphaISelLowering.cpp
@@ -544,8 +544,9 @@ SDOperand AlphaTargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) {
return DAG.getTruncStore(S1, DAG.getConstant(VarArgsOffset, MVT::i64),
SA2, NULL, 0, MVT::i32);
}
- // Frame & Return address. Currently unimplemented
- case ISD::RETURNADDR: break;
+ case ISD::RETURNADDR:
+ return DAG.getNode(AlphaISD::GlobalRetAddr, MVT::i64);
+ //FIXME: implement
case ISD::FRAMEADDR: break;
}