[all-commits] [llvm/llvm-project] 224fee: [CSSPGO] Tweaking inlining with pseudo probes.

Hongtao Yu via All-commits all-commits at lists.llvm.org
Mon Feb 1 13:57:39 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 224fee8219bb3aed34f13ce40935e1b3ede90a0f
      https://github.com/llvm/llvm-project/commit/224fee8219bb3aed34f13ce40935e1b3ede90a0f
  Author: Hongtao Yu <hoy at fb.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M llvm/lib/ProfileData/SampleProfReader.cpp
    M llvm/lib/Transforms/IPO/SampleContextTracker.cpp
    A llvm/test/Transforms/SampleProfile/Inputs/pseudo-probe-inline.prof
    A llvm/test/Transforms/SampleProfile/pseudo-probe-inline.ll

  Log Message:
  -----------
  [CSSPGO] Tweaking inlining with pseudo probes.

Fixing up a couple places where `getCallSiteIdentifier` is needed to support pseudo-probe-based callsites.

Also fixing an issue in the extbinary profile reader where the metadata section is not fully scanned based on the number of profiles loaded only for the current module.

Reviewed By: wmi, wenlei

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




More information about the All-commits mailing list