summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/Dominators/basic.ll
Commit message (Collapse)AuthorAgeFilesLines
* [PM] Port domtree to the new pass manager (at last).Chandler Carruth2015-01-141-3/+6
| | | | | | | | | | | | This adds the domtree analysis to the new pass manager. The analysis returns the same DominatorTree result entity used by the old pass manager and essentially all of the code is shared. We just have different boilerplate for running and printing the analysis. I've converted one test to run in both modes just to make sure this is exercised while both are live in the tree. llvm-svn: 225969
* [dom] Add a basic dominator tree test.Chandler Carruth2015-01-141-0/+57
Correct, we have *zero* basic testing of the dominator tree in the regression test suite. There is a single test that even prints it out, and that test only checks a single line of the output. There are a handful of tests that check post dominators, but all of those are looking for bugs rather than just exercising the basic machinery. This test is super boring and unexciting. But hey, it's something. I needed there to be something so I could switch the basic test to run with both the old and new pass manager. llvm-svn: 225936
OpenPOWER on IntegriCloud