[all-commits] [llvm/llvm-project] f0d41b: [CSSPGO] Tweak ICP threshold in top-down inliner

ictwanglei via All-commits all-commits at lists.llvm.org
Mon Jul 26 21:49:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0d41b58da4a102452af47c7b420577bd3d47a03
      https://github.com/llvm/llvm-project/commit/f0d41b58da4a102452af47c7b420577bd3d47a03
  Author: wlei <wlei at fb.com>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/SampleProfile.cpp
    M llvm/test/Transforms/SampleProfile/csspgo-inline-icall.ll

  Log Message:
  -----------
  [CSSPGO] Tweak ICP threshold in top-down inliner

This change slightly relaxed the current ICP threshold in top-down inliner, specifically always allow one ICP for it. It shows some perf improvements on SPEC and our internal benchmarks. Also renamed the previous flag. We can also try to turn off PGO ICP in the future.

Reviewed By: wenlei, hoy, wmi

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




More information about the All-commits mailing list