aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-12-27 10:30:45 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-12-27 10:30:45 +0000
commitaa35167578cef55f2bdb78c14a662fffdf31bc51 (patch)
tree0efb0ce70a61dc0d129fbe9ae8989790b6b4b70a /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent687d4024b59cd0cb39c278ad9d1b239c3afa8599 (diff)
downloadllvm-aa35167578cef55f2bdb78c14a662fffdf31bc51.zip
llvm-aa35167578cef55f2bdb78c14a662fffdf31bc51.tar.gz
llvm-aa35167578cef55f2bdb78c14a662fffdf31bc51.tar.bz2
[PM] Teach BasicAA how to invalidate its result object.
This requires custom handling because BasicAA caches handles to other analyses and so it needs to trigger indirect invalidation. This fixes one of the common crashes when using the new PM in real pipelines. I've also tweaked a regression test to check that we are at least handling the most immediate case. I'm going to work at re-structuring this test some to both scale better (rather than all being in one file) and check more invalidation paths in a follow-up commit, but I wanted to get the basic bug fix in place. llvm-svn: 290603
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions