[PATCH] D80405: [llvm][NFC] Cache FAM in InlineAdvisor

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 21 14:38:51 PDT 2020


mtrofin created this revision.
mtrofin added reviewers: davidxl, asbirlea.
Herald added subscribers: llvm-commits, hiraditya, eraman.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80405

Files:
  llvm/include/llvm/Analysis/InlineAdvisor.h
  llvm/include/llvm/Transforms/IPO/Inliner.h
  llvm/lib/Analysis/InlineAdvisor.cpp
  llvm/lib/Transforms/IPO/Inliner.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80405.265599.patch
Type: text/x-patch
Size: 6405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200521/f81751e0/attachment.bin>


More information about the llvm-commits mailing list