From: Zhou Sheng Date: Wed, 14 Mar 2007 03:21:24 +0000 (+0000) Subject: Enable KnownZero/One.clear(). X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9670445cd401cab6f3ef796bcdc9f539530ccca3;p=oota-llvm.git Enable KnownZero/One.clear(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35093 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 93dde275b6c..e072d966a7b 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -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.