diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-07 15:17:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-07 15:17:02 +0000 |
commit | 6061000b54424cc209dab2056500d4f72c327d2a (patch) | |
tree | f5610e446c2f9f95b0fb336fe1cb390397072b0c | |
parent | bd082800ec44049e72ab72fd6dd6b85ae9b814a3 (diff) |
Fix bug in previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8922 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index b2b63af05d..a8234b3c4b 100644 --- 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; } |