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:
1997473
)
Typo. It's checking if V is multiple of 4, not multiple of 3. :-)
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 3 May 2007 02:00:18 +0000
(
02:00
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 3 May 2007 02:00:18 +0000
(
02:00
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36663
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 747a2879d48859adacefe54f47e010c79895ced9..8981ea42995da0676b505c2eed3b400e5c972b66 100644
(file)
--- a/
lib/Target/ARM/ARMISelLowering.cpp
+++ b/
lib/Target/ARM/ARMISelLowering.cpp
@@
-1486,7
+1486,7
@@
static bool isLegalAddressImmediate(int64_t V, MVT::ValueType VT,
case MVT::f64:
if (!Subtarget->hasVFP2())
return false;
- if ((V
%
3) != 0)
+ if ((V
&
3) != 0)
return false;
V >>= 2;
return V == V & ((1LL << 8) - 1);