]> granicus.if.org Git - llvm/commit
[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)
commitd39ad60564b68b223511c276a5aa76cddd53bf79
treead877e13f3ef1a3e67e144d8139cd2738ec62335
parente928b4046a9250e6637341a05a0cc0955c310b20
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225936 91177308-0d34-0410-b5e6-96231b3b80d8
test/Analysis/Dominators/basic.ll [new file with mode: 0644]