mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
fix a miscompilation I introduced of cdecl with a late change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92416 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
10d514ee58
commit
33a1ec76c2
@ -6088,7 +6088,7 @@ FoldCmpLoadFromIndexedGlobal(GetElementPtrInst *GEP, GlobalVariable *GV,
|
||||
|
||||
// If this element is in range, update our magic bitvector.
|
||||
if (i < 64 && IsTrueForElt)
|
||||
MagicBitvector |= 1 << i;
|
||||
MagicBitvector |= 1ULL << i;
|
||||
|
||||
// If all of our states become overdefined, bail out early.
|
||||
if (i >= 64 && OnlyTrueElement == -2 && OnlyFalseElement == -2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user