[llvm-commits] [llvm] r138931 - /llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp
Bill Wendling
isanbard at gmail.com
Wed Aug 31 18:18:33 PDT 2011
Author: void
Date: Wed Aug 31 20:18:33 2011
New Revision: 138931
URL: http://llvm.org/viewvc/llvm-project?rev=138931&view=rev
Log:
Submitted this too early.
Modified:
llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp
Modified: llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp?rev=138931&r1=138930&r2=138931&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp Wed Aug 31 20:18:33 2011
@@ -1577,11 +1577,6 @@
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.
More information about the llvm-commits
mailing list