[PATCH] D72025: [PM][CG-SCC] Add a helper to update the call graph from SCC passes

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 30 19:18:19 PST 2019


jdoerfert created this revision.
jdoerfert added reviewers: hfinkel, chandlerc, modocache.
Herald added subscribers: bollu, hiraditya, mehdi_amini.
Herald added a project: LLVM.
jdoerfert added a child revision: D70927: Introduce a CallGraph updater helper class.

With this patch new trivial edges can be added to an SCC in a CG-SCC
pass via the updateCGAndAnalysisManagerForCGSCCPass method. It shares
almost all the code with the existing
updateCGAndAnalysisManagerForFunctionPass method but it implements the
first step towards the TODOs.

This was initially part of D70927 <https://reviews.llvm.org/D70927>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72025

Files:
  llvm/include/llvm/Analysis/CGSCCPassManager.h
  llvm/lib/Analysis/CGSCCPassManager.cpp
  llvm/unittests/Analysis/CGSCCPassManagerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72025.235665.patch
Type: text/x-patch
Size: 12103 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191231/fb0538cd/attachment.bin>


More information about the llvm-commits mailing list