commit | 3eb7150c3eddde856b62c9c6fbe11569d01a6bb3 | [log] [tgz] |
---|---|---|
author | Duraid Madina <duraid@octopus.com.au> | Thu Apr 14 10:06:35 2005 +0000 |
committer | Duraid Madina <duraid@octopus.com.au> | Thu Apr 14 10:06:35 2005 +0000 |
tree | 52d494fd3a6ec6cc734af95c279a92b4f0e942f9 | |
parent | 7bfba7d5e3efd90134584447e534ad65998a809b [diff] [blame] |
oops, this stopped us turning movl r4=0xFFFFFFFF;; and rX, r4 into zxt4 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21299 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/IA64/IA64ISelPattern.cpp b/lib/Target/IA64/IA64ISelPattern.cpp index 34ab0a6..3e74802 100644 --- a/lib/Target/IA64/IA64ISelPattern.cpp +++ b/lib/Target/IA64/IA64ISelPattern.cpp
@@ -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;