[all-commits] [llvm/llvm-project] 013774: [PM][CGSCC] Add a helper to update the call graph ...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Sun Feb 2 21:33:41 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 013774530898476debd4d65525f1c7ba942cabee
      https://github.com/llvm/llvm-project/commit/013774530898476debd4d65525f1c7ba942cabee
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-02-02 (Sun, 02 Feb 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/CGSCCPassManager.h
    M llvm/lib/Analysis/CGSCCPassManager.cpp
    M llvm/unittests/Analysis/CGSCCPassManagerTest.cpp

  Log Message:
  -----------
  [PM][CGSCC] Add a helper to update the call graph from SCC passes

With this patch new trivial edges can be added to an SCC in a CGSCC
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.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D72025




More information about the All-commits mailing list