llvm-project/llvm/test/Transforms/ADCE
Max Kazantsev f8a42bca28 [ADCE] Fix incorrect reporting of CFG changes
This patch fixes 2 related bugs in ADCE:
- `performDeadCodeElimination` does not report changes if it did ONLY
  CFG changes (affects both old and new pass managers);
- When control flow removal is enabled, new pass manager does not
  drop CFG analyses.

Both can lead to incorrect loop info after ADCE that does only CFG changes.

Differential Revision: https://reviews.llvm.org/D78103
Reviewed By: Denis Antrushin
2020-04-14 20:26:13 +07:00
..
2002-01-31-UseStuckAround.ll
2002-05-22-PHITest.ll
2002-05-23-ZeroArgPHITest.ll
2002-05-28-Crash-distilled.ll
2002-05-28-Crash.ll
2002-07-17-AssertionFailure.ll
2002-07-17-PHIAssertion.ll
2002-07-29-Segfault.ll
2003-01-22-PredecessorProblem.ll
2003-04-25-PHIPostDominateProblem.ll
2003-06-11-InvalidCFG.ll
2003-06-24-BadSuccessor.ll
2003-06-24-BasicFunctionality.ll
2003-09-10-UnwindInstFail.ll
2003-09-15-InfLoopCrash.ll
2003-11-16-MissingPostDominanceInfo.ll
2004-05-04-UnreachableBlock.ll
2005-02-17-PHI-Invoke-Crash.ll
2016-09-06.ll
2017-08-21-DomTree-deletions.ll
basictest.ll
basictest1.ll
basictest2.ll
blocks-with-dead-term-nondeterministic.ll
broken-loop-info.ll [ADCE] Fix incorrect reporting of CFG changes 2020-04-14 20:26:13 +07:00
dce_pure_call.ll
dce_pure_invoke.ll
debug-info-intrinsic.ll
delete-profiling-calls-to-constant.ll
domtree-DoubleDeletion.ll
unreachable-function.ll
unreachable.ll