projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
507e639
)
Enable KnownZero/One.clear().
author
Zhou Sheng
<zhousheng00@gmail.com>
Wed, 14 Mar 2007 03:21:24 +0000
(
03:21
+0000)
committer
Zhou Sheng
<zhousheng00@gmail.com>
Wed, 14 Mar 2007 03:21:24 +0000
(
03:21
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35093
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index 93dde275b6cd15361c25c1788af4c8e61cf6f706..e072d966a7b315264726cdcd343a9a56c7e008a6 100644
(file)
--- 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.