[PATCH] D80776: [Inlining] Introduce -enable-npm-pgo-inline-deferral

Kazu Hirata via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 28 20:51:24 PDT 2020


kazu created this revision.
kazu added a reviewer: davidxl.
Herald added subscribers: haicheng, hiraditya, eraman.
Herald added a project: LLVM.

Experiments show that inline deferral past pre-inlining slightly
pessimizes the performance.

This patch introduces an option to control inline deferral during PGO.
The option defaults to true for now (that is, NFC).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80776

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80776.267117.patch
Type: text/x-patch
Size: 4877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200529/961e89ff/attachment.bin>


More information about the llvm-commits mailing list