[PATCH] D95791: [CSSPGO] Tweaks for inlining with pseudo probes.

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 1 09:08:15 PST 2021


hoy created this revision.
Herald added subscribers: wenlei, hiraditya.
hoy requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Fix 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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95791

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95791.320494.patch
Type: text/x-patch
Size: 11342 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210201/b3146595/attachment.bin>


More information about the llvm-commits mailing list