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:
697cba8
)
Fix logic think-o
author
Jim Grosbach
<grosbach@apple.com>
Sat, 17 Jul 2010 01:22:19 +0000
(
01:22
+0000)
committer
Jim Grosbach
<grosbach@apple.com>
Sat, 17 Jul 2010 01:22:19 +0000
(
01:22
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108601
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMISelLowering.cpp
b/lib/Target/ARM/ARMISelLowering.cpp
index 34b662aed83ffbda4687998e32951482173ba421..58f100f5a1805e5ba679c0232d9b3aa0930b1515 100644
(file)
--- a/
lib/Target/ARM/ARMISelLowering.cpp
+++ b/
lib/Target/ARM/ARMISelLowering.cpp
@@
-4267,7
+4267,7
@@
static SDValue PerformORCombine(SDNode *N,
if (!C)
return SDValue();
unsigned Val = C->getZExtValue();
- if (
ARM::isBitFieldInvertedMask(Mask) &&
(Val & ~Mask) != Val)
+ if (
!ARM::isBitFieldInvertedMask(Mask) ||
(Val & ~Mask) != Val)
return SDValue();
Val >>= CountTrailingZeros_32(~Mask);