From 9670445cd401cab6f3ef796bcdc9f539530ccca3 Mon Sep 17 00:00:00 2001 From: Zhou Sheng Date: Wed, 14 Mar 2007 03:21:24 +0000 Subject: [PATCH] Enable KnownZero/One.clear(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35093 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/InstructionCombining.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.34.1