[all-commits] [llvm/llvm-project] 9a0305: [CSSPGO] Factor out common part for CSSPGO inline ...

WenleiHe via All-commits all-commits at lists.llvm.org
Tue Feb 2 00:34:57 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a03058d6322edb8abc803ba3e436cc62647d979
      https://github.com/llvm/llvm-project/commit/9a03058d6322edb8abc803ba3e436cc62647d979
  Author: Wenlei He <aktoon at gmail.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/SampleProfile.cpp
    M llvm/test/Transforms/SampleProfile/pseudo-probe-inline.ll
    M llvm/test/Transforms/SampleProfile/remarks.ll

  Log Message:
  -----------
  [CSSPGO] Factor out common part for CSSPGO inline and AFDO inline

Refactoring SampleProfileLoader::inlineHotFunctions to use helpers from CSSPGO inlining and reduce similar code in the inlining loop, plus minor cleanup for AFDO path.

Test Plan:

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




More information about the All-commits mailing list