llvm-project/llvm/test/Transforms/ADCE
Jakub Kuderski 2724d45325 [ADCE][Dominators] Reapply: Teach ADCE to preserve dominators
Summary:
This patch teaches ADCE to preserve both DominatorTrees and PostDominatorTrees.

This is reapplies the original patch r311057 that was reverted in r311381.
The previous version wasn't using the batch update api for updating dominators,
which in vary rare cases caused assertion failures.

This also fixes PR34258.

Reviewers: dberlin, chandlerc, sanjoy, davide, grosser, brzycki

Reviewed By: davide

Subscribers: grandinj, zhendongsu, llvm-commits, david2050

Differential Revision: https://reviews.llvm.org/D35869

llvm-svn: 311467
2017-08-22 16:30:21 +00: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 [ADCE][Dominators] Reapply: Teach ADCE to preserve dominators 2017-08-22 16:30:21 +00:00
basictest.ll
basictest1.ll
basictest2.ll
dce_pure_call.ll
dce_pure_invoke.ll
debug-info-intrinsic.ll
delete-profiling-calls-to-constant.ll
domtree-DoubleDeletion.ll [ADCE][Dominators] Reapply: Teach ADCE to preserve dominators 2017-08-22 16:30:21 +00:00
unreachable-function.ll
unreachable.ll [ADCE][Dominators] Reapply: Teach ADCE to preserve dominators 2017-08-22 16:30:21 +00:00