[all-commits] [llvm/llvm-project] 999ea2: [llvm][NFC] Cache FAM in InlineAdvisor

Mircea Trofin via All-commits all-commits at lists.llvm.org
Mon Jun 1 13:02:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 999ea25a9eeab72f95acaa7f753f4f3a7ac450b3
      https://github.com/llvm/llvm-project/commit/999ea25a9eeab72f95acaa7f753f4f3a7ac450b3
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-06-01 (Mon, 01 Jun 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/InlineAdvisor.h
    M llvm/include/llvm/Transforms/IPO/Inliner.h
    M llvm/lib/Analysis/InlineAdvisor.cpp
    M llvm/lib/Transforms/IPO/Inliner.cpp

  Log Message:
  -----------
  [llvm][NFC] Cache FAM in InlineAdvisor

Summary:
This simplifies the interface by storing the function analysis manager
with the InlineAdvisor, and, thus, not requiring it be passed each time
we inquire for an advice.

Reviewers: davidxl, asbirlea

Subscribers: eraman, hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list