[PM] Add unittesting of the call graph update logic with complex
authorChandler Carruth <chandlerc@gmail.com>
Sun, 9 Jul 2017 13:16:55 +0000 (13:16 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 9 Jul 2017 13:16:55 +0000 (13:16 +0000)
commit7c8964d885b2cf3f3f9f4aedaf16c15d9bcdf1a3
treeb0cd04db2eae265af3c7d9f6e98a07fab1452135
parent170e6ccdf9f57e3df91fcc89a10510f102a5d89f
[PM] Add unittesting of the call graph update logic with complex
dependencies between analyses.

This uncovers even more issues with the proxies and the splitting apart
of SCCs which are fixed in this patch. I discovered this while trying to
add more rigorous testing for a change I'm making to the call graph
update invalidation logic.

llvm-svn: 307497
llvm/include/llvm/Analysis/CGSCCPassManager.h
llvm/include/llvm/IR/PassManager.h
llvm/lib/Analysis/CGSCCPassManager.cpp
llvm/unittests/Analysis/CGSCCPassManagerTest.cpp