From ac5a54504399a281053f91603221d5926dee220d Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Thu, 8 Feb 2007 17:37:41 +0000 Subject: [PATCH] return addresses, those I already have git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34056 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Alpha/AlphaISelLowering.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp index 0d1cacf83c4..1674d444350 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; } -- 2.34.1