aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaRegisterInfo.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-03-29 19:24:04 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-03-29 19:24:04 +0000
commitc05138387a7ce3de215cbf6df2745ab77af4f85f (patch)
tree976cafd608ab2083ab5fc6e2319a52704b20791b /lib/Target/Alpha/AlphaRegisterInfo.cpp
parent9342a939eb0aac1f08e2799de33880b7061d3590 (diff)
Fix up some types and constants
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20928 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaRegisterInfo.cpp')
-rw-r--r--lib/Target/Alpha/AlphaRegisterInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Alpha/AlphaRegisterInfo.cpp b/lib/Target/Alpha/AlphaRegisterInfo.cpp
index 3c8c616f00..96a05938f1 100644
--- a/lib/Target/Alpha/AlphaRegisterInfo.cpp
+++ b/lib/Target/Alpha/AlphaRegisterInfo.cpp
@@ -31,8 +31,8 @@
using namespace llvm;
//These describe LDAx
-static const int64_t IMM_LOW = 0xffffffffffff8000LL;
-static const int IMM_HIGH = 0x0000000000007fffLL;
+static const int IMM_LOW = -32768;
+static const int IMM_HIGH = 32767;
static const int IMM_MULT = 65536;
static long getUpper16(long l)