[PM] Add a unittest for the CGSCC pass manager in the new pass manager
authorChandler Carruth <chandlerc@gmail.com>
Tue, 23 Feb 2016 10:02:02 +0000 (10:02 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 23 Feb 2016 10:02:02 +0000 (10:02 +0000)
commit743199221bbd8cf1aa14f0ad0648cb8a19d5e1e0
treee3871ed04b9f38c5b3f6e41258ac6b74b02b4cfd
parent453f4aa4ddce612a3f1c28c972ab5407445dab97
[PM] Add a unittest for the CGSCC pass manager in the new pass manager
system.

Previously, this was only being tested with larger integration tests.
That makes it hard to isolated specific issues with it, and makes the
APIs themselves less well tested. Add a unittest based around the same
patterns used for testing the general pass manager.

llvm-svn: 261624
llvm/unittests/Analysis/CGSCCPassManagerTest.cpp [new file with mode: 0644]
llvm/unittests/Analysis/CMakeLists.txt