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:
Chris Lattner 2010-01-02 09:22:13 +00:00
parent 10d514ee58
commit 33a1ec76c2

View File

@ -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)