mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Typo. It's checking if V is multiple of 4, not multiple of 3. :-)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36663 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1997473cf7
commit
0b0a9a90a4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user