summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-02 09:22:13 +0000
committerChris Lattner <sabre@nondot.org>2010-01-02 09:22:13 +0000
commitc6ac078423da378cebd5a68752a5b5a23e06d6be (patch)
treede6d1f39d3dd65cc6e94d00fbf1cbe042932b1b7 /llvm/lib/Transforms/Scalar
parent935a4a606abe3ec3e2d9b37b212b8d786a7205d5 (diff)
downloadbcm5719-llvm-c6ac078423da378cebd5a68752a5b5a23e06d6be.tar.gz
bcm5719-llvm-c6ac078423da378cebd5a68752a5b5a23e06d6be.zip
fix a miscompilation I introduced of cdecl with a late change.
llvm-svn: 92416
Diffstat (limited to 'llvm/lib/Transforms/Scalar')
-rw-r--r--llvm/lib/Transforms/Scalar/InstructionCombining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
index 85ef7b18ef9..088e440ed2e 100644
--- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/llvm/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)
OpenPOWER on IntegriCloud