aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp2
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)