projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bug in previous checkin
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
InstructionCombining.cpp
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;
}