aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaRegisterInfo.cpp
diff options
context:
space:
mode:
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)