[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelPattern.cpp

Duraid Madina duraid at octopus.com.au
Thu Apr 14 03:06:47 PDT 2005



Changes in directory llvm/lib/Target/IA64:

IA64ISelPattern.cpp updated: 1.23 -> 1.24
---
Log message:

oops, this stopped us turning movl r4=0xFFFFFFFF;; and rX, r4  into zxt4



---
Diffs of the changes:  (+1 -1)

 IA64ISelPattern.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/IA64/IA64ISelPattern.cpp
diff -u llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.23 llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.24
--- llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.23	Thu Apr 14 03:37:32 2005
+++ llvm/lib/Target/IA64/IA64ISelPattern.cpp	Thu Apr 14 05:06:35 2005
@@ -460,7 +460,7 @@
 static unsigned ExactLog2sub1(uint64_t Val) {
   unsigned int n;
   for(n=0; n<64; n++) {
-    if(Val==(uint64_t)((1<<n)-1))
+    if(Val==(uint64_t)((1LL<<n)-1))
       return n;
   }
   return 666;






More information about the llvm-commits mailing list