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

Andrew Lenharth alenhar2 at cs.uiuc.edu
Sat Mar 5 07:30:49 PST 2005



Changes in directory llvm/lib/Target/Alpha:

AlphaRegisterInfo.cpp updated: 1.14 -> 1.15
---
Log message:

fix data size stuff for architectures with bit challenged data types

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

 AlphaRegisterInfo.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp
diff -u llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp:1.14 llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp:1.15
--- llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp:1.14	Fri Mar  4 15:40:02 2005
+++ llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp	Sat Mar  5 09:30:33 2005
@@ -31,9 +31,9 @@
 using namespace llvm;
 
 //These describe LDAx
-static const long IMM_LOW  = 0xffffffffffff8000;
-static const long IMM_HIGH = 0x0000000000007fff;
-static const long IMM_MULT = 65536;
+static const int64_t IMM_LOW  = 0xffffffffffff8000;
+static const int IMM_HIGH = 0x0000000000007fff;
+static const int IMM_MULT = 65536;
 
 static long getUpper16(long l)
 {
@@ -274,7 +274,7 @@
   bool FP = hasFP(MF);
  
   // Get the number of bytes allocated from the FrameInfo...
-  unsigned NumBytes = MFI->getStackSize();
+  long NumBytes = MFI->getStackSize();
 
   //now if we need to, restore the old FP
   if (FP)






More information about the llvm-commits mailing list