[llvm-commits] [llvm] r92416 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
Chris Lattner
sabre at nondot.org
Sat Jan 2 01:22:14 PST 2010
Author: lattner
Date: Sat Jan 2 03:22:13 2010
New Revision: 92416
URL: http://llvm.org/viewvc/llvm-project?rev=92416&view=rev
Log:
fix a miscompilation I introduced of cdecl with a late change.
Modified:
llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp?rev=92416&r1=92415&r2=92416&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Sat Jan 2 03:22:13 2010
@@ -6088,7 +6088,7 @@
// 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)
More information about the llvm-commits
mailing list