[dom] Add a basic dominator tree test.
authorChandler Carruth <chandlerc@gmail.com>
Wed, 14 Jan 2015 03:34:55 +0000 (03:34 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 14 Jan 2015 03:34:55 +0000 (03:34 +0000)
commitef7a9fb63bfb045160f33a3e7b8107246a3db999
treef2d4f905908d28942bab2be0b33a73b993197058
parente28d154cd5f1c2fc91cae530a4b2c9eb3e5e76e5
[dom] Add a basic dominator tree test.

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
llvm/test/Analysis/Dominators/basic.ll [new file with mode: 0644]