[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelLowering.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Thu Feb 8 09:37:57 PST 2007
Changes in directory llvm/lib/Target/Alpha:
AlphaISelLowering.cpp updated: 1.80 -> 1.81
---
Log message:
return addresses, those I already have
---
Diffs of the changes: (+3 -2)
AlphaISelLowering.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/Alpha/AlphaISelLowering.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.80 llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.81
--- llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.80 Tue Jan 30 14:08:37 2007
+++ llvm/lib/Target/Alpha/AlphaISelLowering.cpp Thu Feb 8 11:37:41 2007
@@ -544,8 +544,9 @@
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;
}
More information about the llvm-commits
mailing list