diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-02 09:22:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-02 09:22:13 +0000 |
commit | 33a1ec76c246e3aeed5e61d80399d23e5fd6d57a (patch) | |
tree | 93c016f2597b9f90bb2118847f3e00911b9a48c5 /lib/Transforms | |
parent | 10d514ee58265feb41b58cfa78638062ea8eddf6 (diff) |
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
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 85ef7b18ef..088e440ed2 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -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) |