diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-09-01 01:18:33 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-09-01 01:18:33 +0000 |
commit | c1b4cd6c11f58f3b49d09bf30acc165cb0d9a33b (patch) | |
tree | 28c45b1d79727d02e62e50675a1f218332b47e58 /lib/Transforms | |
parent | 1893cd31313d240279b3d65b24bc1d69003e9bc5 (diff) |
Submitted this too early.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138931 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/InstCombine/InstructionCombining.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Transforms/InstCombine/InstructionCombining.cpp b/lib/Transforms/InstCombine/InstructionCombining.cpp index 4eea2ff395..838678b9fa 100644 --- a/lib/Transforms/InstCombine/InstructionCombining.cpp +++ b/lib/Transforms/InstCombine/InstructionCombining.cpp @@ -1577,11 +1577,6 @@ bool InstCombiner::DoOneIteration(Function &F, unsigned Iteration) { while (Term != BB->begin()) { // Remove instrs bottom-up BasicBlock::iterator I = Term; --I; - // Don't remove the landingpad instruction. This should be removed - // only if its invokes are also removed. - if (isa<LandingPadInst>(I)) - continue; - DEBUG(errs() << "IC: DCE: " << *I << '\n'); // A debug intrinsic shouldn't force another iteration if we weren't // going to do one without it. |