summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-09-01 01:18:33 +0000
committerBill Wendling <isanbard@gmail.com>2011-09-01 01:18:33 +0000
commit9f7cf20e60ea9c398c64cbadff776e58849a58f8 (patch)
tree1797b83721aeffc831adbe5dff58002351b4212e /llvm
parent2d1f11f743d820f8896abfec1391aa848d191e31 (diff)
downloadbcm5719-llvm-9f7cf20e60ea9c398c64cbadff776e58849a58f8.tar.gz
bcm5719-llvm-9f7cf20e60ea9c398c64cbadff776e58849a58f8.zip
Submitted this too early.
llvm-svn: 138931
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstructionCombining.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
index 4eea2ff3951..838678b9fab 100644
--- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud