[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Thu Feb 10 12:13:56 PST 2005
Changes in directory llvm/lib/Target/Alpha:
AlphaISelPattern.cpp updated: 1.48 -> 1.49
---
Log message:
fix a bunch of regressions due to call behavior
---
Diffs of the changes: (+4 -4)
AlphaISelPattern.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.48 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.49
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.48 Thu Feb 10 00:25:13 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp Thu Feb 10 14:10:38 2005
@@ -862,14 +862,14 @@
if (GlobalAddressSDNode *GASD =
dyn_cast<GlobalAddressSDNode>(N.getOperand(1)))
{
- if (GASD->getGlobal()->isExternal()) {
+ //if (GASD->getGlobal()->isExternal()) {
//use safe calling convention
AlphaLowering.restoreGP(BB);
BuildMI(BB, Alpha::CALL, 1).addGlobalAddress(GASD->getGlobal(),true);
- } else {
+ //} else {
//use PC relative branch call
- BuildMI(BB, Alpha::BSR, 1, Alpha::R26).addGlobalAddress(GASD->getGlobal(),true);
- }
+ //BuildMI(BB, Alpha::BSR, 1, Alpha::R26).addGlobalAddress(GASD->getGlobal(),true);
+ //}
}
else if (ExternalSymbolSDNode *ESSDN =
dyn_cast<ExternalSymbolSDNode>(N.getOperand(1)))
More information about the llvm-commits
mailing list