projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10d514e
)
fix a miscompilation I introduced of cdecl with a late change.
author
Chris Lattner
<sabre@nondot.org>
Sat, 2 Jan 2010 09:22:13 +0000
(09:22 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 2 Jan 2010 09:22:13 +0000
(09:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92416
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index 85ef7b18ef9b18f89d846569b46f2ee572f94923..088e440ed2ee4b39efc089c1143500bf94cfd146 100644
(file)
--- 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 |= 1
ULL
<< i;
// If all of our states become overdefined, bail out early.
if (i >= 64 && OnlyTrueElement == -2 && OnlyFalseElement == -2)