HomePhabricator

Reapply [InlineCost] Enable the cost benefit analysis on FDO

Authored by kazu on Mar 25 2021, 9:51 PM.

Description

Reapply [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

Details

Committed
kazuMar 25 2021, 9:51 PM
Differential Revision
D98213: [InlineCost] Enable the cost benefit analysis on FDO
Parents
rG3c775d93a1dd: [InlineCost] Reject a zero entry count
Branches
Unknown
Tags
Unknown