[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Sat Jul 23 00:46:59 PDT 2005
Changes in directory llvm/lib/Target/Alpha:
AlphaISelPattern.cpp updated: 1.153 -> 1.154
---
Log message:
fix compile error
---
Diffs of the changes: (+1 -1)
AlphaISelPattern.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.153 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.154
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.153 Fri Jul 22 17:24:01 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp Sat Jul 23 02:46:48 2005
@@ -2083,7 +2083,7 @@
{
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;
More information about the llvm-commits
mailing list