mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-02 09:33:59 +00:00
Submitted this too early.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138931 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1893cd3131
commit
c1b4cd6c11
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user