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:
bd08280
)
Fix bug in previous checkin
author
Chris Lattner
<sabre@nondot.org>
Tue, 7 Oct 2003 15:17:02 +0000
(15:17 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 7 Oct 2003 15:17:02 +0000
(15:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8922
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 b2b63af05d1128834d3e497b7c21786e875933db..a8234b3c4b442df607a8172f27185916a3bcd4ee 100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-1960,6
+1960,7
@@
bool InstCombiner::runOnFunction(Function &F) {
++NumConstProp;
I->getParent()->getInstList().erase(I);
+ removeFromWorkList(I);
continue;
}