[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelPattern.cpp

Andrew Lenharth alenhar2 at cs.uiuc.edu
Sun Jul 3 13:06:25 PDT 2005



Changes in directory llvm/lib/Target/Alpha:

AlphaISelPattern.cpp updated: 1.144 -> 1.145
---
Log message:

fix loading address of fp symbols


---
Diffs of the changes:  (+4 -0)

 AlphaISelPattern.cpp |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.144 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.145
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.144	Fri Jul  1 14:12:13 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp	Sun Jul  3 15:06:13 2005
@@ -1319,6 +1319,8 @@
   case ISD::GlobalAddress:
     AlphaLowering.restoreGP(BB);
     has_sym = true;
+ 
+    Reg = Result = MakeReg(MVT::i64);
 
     if (EnableAlphaLSMark)
       BuildMI(BB, Alpha::MEMLABEL, 4).addImm(5).addImm(0).addImm(0)
@@ -1333,6 +1335,8 @@
     AlphaLowering.restoreGP(BB);
     has_sym = true;
 
+    Reg = Result = MakeReg(MVT::i64);
+
     if (EnableAlphaLSMark)
       BuildMI(BB, Alpha::MEMLABEL, 4).addImm(5).addImm(0).addImm(0)
         .addImm(getUID());






More information about the llvm-commits mailing list