From b9128445547544408b483e19a6da67b5e2dd4de6 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(). llvm-svn: 35093 --- llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 93dde275b6cd..e072d966a7b3 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/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.