summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorZhou Sheng <zhousheng00@gmail.com>2007-03-14 03:21:24 +0000
committerZhou Sheng <zhousheng00@gmail.com>2007-03-14 03:21:24 +0000
commitb9128445547544408b483e19a6da67b5e2dd4de6 (patch)
treeae9dd27bc4f8f2395dae8027640d15a7f5af02ea /llvm/lib/Transforms
parentb59d60da40c97cb1fd045f8c12c8b7904844e510 (diff)
downloadbcm5719-llvm-b9128445547544408b483e19a6da67b5e2dd4de6.tar.gz
bcm5719-llvm-b9128445547544408b483e19a6da67b5e2dd4de6.zip
Enable KnownZero/One.clear().
llvm-svn: 35093
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/InstructionCombining.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
index 93dde275b6c..e072d966a7b 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.
OpenPOWER on IntegriCloud