summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-07-23 07:46:48 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-07-23 07:46:48 +0000
commit54b0b62ff023ab98eacec261cd2b2ceb1dc7a527 (patch)
treef5d1d5279b66756c8f282039c824729aaa9505ed /llvm/lib
parent12f5d12b217f5b7677df3e3f63108ead1f49e3d1 (diff)
downloadbcm5719-llvm-54b0b62ff023ab98eacec261cd2b2ceb1dc7a527.tar.gz
bcm5719-llvm-54b0b62ff023ab98eacec261cd2b2ceb1dc7a527.zip
fix compile error
llvm-svn: 22508
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Alpha/AlphaISelPattern.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelPattern.cpp b/llvm/lib/Target/Alpha/AlphaISelPattern.cpp
index 1b764061b07..6d5dbeafc87 100644
--- a/llvm/lib/Target/Alpha/AlphaISelPattern.cpp
+++ b/llvm/lib/Target/Alpha/AlphaISelPattern.cpp
@@ -2083,7 +2083,7 @@ unsigned AlphaISel::SelectExpr(SDOperand N) {
{
int64_t val = (int64_t)cast<ConstantSDNode>(N)->getValue();
int zero_extend_top = 0;
- if (val > 0 && (val & 0xFFFFFFFF00000000) == 0 &&
+ if (val > 0 && (val & 0xFFFFFFFF00000000ULL) == 0 &&
((int32_t)val < 0)) {
//try a small load and zero extend
val = (int32_t)val;
OpenPOWER on IntegriCloud