]> granicus.if.org Git - llvm/commit
[PM] Add a unittest for invalidating module analyses with an SCC pass.
authorChandler Carruth <chandlerc@gmail.com>
Mon, 26 Sep 2016 04:01:55 +0000 (04:01 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 26 Sep 2016 04:01:55 +0000 (04:01 +0000)
commit52c8c40bfcda6178d4ea73d1b37f152bc82918ea
tree09d66cf6b0555cb22c9abeb036193599e98110da
parentefbeb4581676dc979df74f716b384166dabb98f3
[PM] Add a unittest for invalidating module analyses with an SCC pass.

This reinstates r280447. Original commit log:
This wasn't really well explicitly tested with a nice unittest before.
It seems good to have reasonably broken out unittests for this kind of
functionality as I'm workin go other invalidation features to make sure
none of the existing ones regress.

This still has too much duplicated code, I plan to factor that out in
a subsequent commit to use common helpers for repeated parts of this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282377 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Analysis/CGSCCPassManagerTest.cpp