OSDN Git Service

[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)
commitb86a95f1b6ac5ce825c7dad0599d278973a77a27
tree7fb966effcd4f7a7f733dd1f0d6c5b7f378d98dc
parentcf8b560c58fa5090e2c2b36180d266959fe44c52
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307497 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/CGSCCPassManager.h
include/llvm/IR/PassManager.h
lib/Analysis/CGSCCPassManager.cpp
unittests/Analysis/CGSCCPassManagerTest.cpp