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:
7bfba7d
)
oops, this stopped us turning movl r4=0xFFFFFFFF;; and rX, r4 into zxt4
author
Duraid Madina
<duraid@octopus.com.au>
Thu, 14 Apr 2005 10:06:35 +0000
(10:06 +0000)
committer
Duraid Madina
<duraid@octopus.com.au>
Thu, 14 Apr 2005 10:06:35 +0000
(10:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21299
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/IA64/IA64ISelPattern.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/IA64/IA64ISelPattern.cpp
b/lib/Target/IA64/IA64ISelPattern.cpp
index 34ab0a6119f191a3aaf83ad586ebe5aa8d759616..3e74802d1a3cddfec4e8d206436d05ce8a0591ea 100644
(file)
--- a/
lib/Target/IA64/IA64ISelPattern.cpp
+++ b/
lib/Target/IA64/IA64ISelPattern.cpp
@@
-460,7
+460,7
@@
static unsigned ExactLog2(uint64_t Val) {
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)((1
LL
<<n)-1))
return n;
}
return 666;