projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa68f7f
)
fix compile error
author
Andrew Lenharth
<andrewl@lenharth.org>
Sat, 23 Jul 2005 07:46:48 +0000
(07:46 +0000)
committer
Andrew Lenharth
<andrewl@lenharth.org>
Sat, 23 Jul 2005 07:46:48 +0000
(07:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22508
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Alpha/AlphaISelPattern.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Alpha/AlphaISelPattern.cpp
b/lib/Target/Alpha/AlphaISelPattern.cpp
index 1b764061b07b6467162b267f4afcf7b7c65e11cf..6d5dbeafc875af4a0461a77133ec1f653d683d44 100644
(file)
--- a/
lib/Target/Alpha/AlphaISelPattern.cpp
+++ b/
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 & 0xFFFFFFFF00000000
ULL
) == 0 &&
((int32_t)val < 0)) {
//try a small load and zero extend
val = (int32_t)val;