1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/test/Transforms/ADCE
David Callahan 86eb682529 [ADCE] Add code to remove dead branches
Summary:
This is last in of a series of patches to evolve ADCE.cpp to support
removing of unnecessary control flow.

This patch adds the code to update the control and data flow graphs
to remove the dead control flow.

Also update unit tests to test the capability to remove dead,
may-be-infinite loop which is enabled by the switch
-adce-remove-loops.

Previous patches:

D23824 [ADCE] Add handling of PHI nodes when removing control flow
D23559 [ADCE] Add control dependence computation
D23225 [ADCE] Modify data structures to support removing control flow
D23065 [ADCE] Refactor anticipating new functionality (NFC)
D23102 [ADCE] Refactoring for new functionality (NFC)

Reviewers: dberlin, majnemer, nadav, mehdi_amini

Subscribers: llvm-commits, david2050, freik, twoh

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

llvm-svn: 289548
2016-12-13 16:42:18 +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
basictest1.ll
basictest2.ll
basictest.ll
dce_pure_call.ll
dce_pure_invoke.ll
debug-info-intrinsic.ll
delete-profiling-calls-to-constant.ll
unreachable-function.ll