Enable KnownZero/One.clear().

llvm-svn: 35093
This commit is contained in:
Zhou Sheng 2007-03-14 03:21:24 +00:00
parent b59d60da40
commit b912844554
1 changed files with 2 additions and 2 deletions

View File

@ -1598,8 +1598,8 @@ bool InstCombiner::SimplifyDemandedBits(Value *V, APInt DemandedMask,
return false;
}
//KnownZero.clear();
//KnownOne.clear();
KnownZero.clear();
KnownOne.clear();
if (!V->hasOneUse()) { // Other users may use these bits.
if (Depth != 0) { // Not at the root.
// Just compute the KnownZero/KnownOne bits to simplify things downstream.