[all-commits] [llvm/llvm-project] ef69aa: [InlineCost] Enable the cost benefit analysis on FDO

kazutakahirata via All-commits all-commits at lists.llvm.org
Wed Mar 24 15:37:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef69aa961d12dee2141a79b05c9637d8cc9c0c74
      https://github.com/llvm/llvm-project/commit/ef69aa961d12dee2141a79b05c9637d8cc9c0c74
  Author: Kazu Hirata <kazu at google.com>
  Date:   2021-03-24 (Wed, 24 Mar 2021)

  Changed paths:
    M llvm/lib/Analysis/InlineCost.cpp

  Log Message:
  -----------
  [InlineCost] Enable the cost benefit analysis on FDO

This patch enables the cost-benefit-analysis-based inliner by default
if we have instrumentation profile.

- SPEC CPU 2017 shows a 0.4% improvement.

- An internal large benchmark shows a 0.9% reduction in the cycle
  count along with 14.6% reduction in the number of call instructions
  executed.

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




More information about the All-commits mailing list