[all-commits] [llvm/llvm-project] 347a59: [Inlining] Introduce -enable-npm-pgo-inline-deferral

kazutakahirata via All-commits all-commits at lists.llvm.org
Thu Jun 4 00:41:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 347a599e5f03ab708943559d0a131127b206b576
      https://github.com/llvm/llvm-project/commit/347a599e5f03ab708943559d0a131127b206b576
  Author: Kazu Hirata <kazu at google.com>
  Date:   2020-06-04 (Thu, 04 Jun 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/InlineAdvisor.h
    M llvm/include/llvm/Analysis/InlineCost.h
    M llvm/lib/Analysis/InlineAdvisor.cpp
    M llvm/lib/Analysis/InlineCost.cpp
    M llvm/lib/Passes/PassBuilder.cpp

  Log Message:
  -----------
  [Inlining] Introduce -enable-npm-pgo-inline-deferral

Summary:
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).

Reviewers: davidxl

Reviewed By: davidxl

Subscribers: eraman, hiraditya, haicheng, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list