[llvm-commits] [llvm] r55149 - /llvm/trunk/lib/Analysis/ValueTracking.cpp
Bill Wendling
isanbard at gmail.com
Thu Aug 21 15:40:10 PDT 2008
Author: void
Date: Thu Aug 21 17:40:10 2008
New Revision: 55149
URL: http://llvm.org/viewvc/llvm-project?rev=55149&view=rev
Log:
Temporarily reverting r55137. This was causing the bootstrap to go into an
infinite loop.
Modified:
llvm/trunk/lib/Analysis/ValueTracking.cpp
Modified: llvm/trunk/lib/Analysis/ValueTracking.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ValueTracking.cpp?rev=55149&r1=55148&r2=55149&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ValueTracking.cpp (original)
+++ llvm/trunk/lib/Analysis/ValueTracking.cpp Thu Aug 21 17:40:10 2008
@@ -509,13 +509,9 @@
ComputeMaskedBits(R, Mask2, KnownZero2, KnownOne2, TD, Depth+1);
Mask2 = APInt::getLowBitsSet(BitWidth,
KnownZero2.countTrailingOnes());
-
- // We need to take the minimum number of known bits
- APInt KnownZero3(KnownZero), KnownOne3(KnownOne);
- KnownOne3.clear();
- KnownZero3.clear();
- ComputeMaskedBits(L, Mask2, KnownZero3, KnownOne3, TD, Depth+1);
-
+ KnownOne2.clear();
+ KnownZero2.clear();
+ ComputeMaskedBits(L, Mask2, KnownZero2, KnownOne2, TD, Depth+1);
KnownZero = Mask &
APInt::getLowBitsSet(BitWidth,
KnownZero2.countTrailingOnes());
More information about the llvm-commits
mailing list