[PATCH] D120335: [llvm-profgen] Generating probe-based non-CS profile.

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 22 08:54:24 PST 2022


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

I'm bring up the support of pseudo-probe-based non-CS profile generation. The approach is quite similar to generating dwarf-based non-CS profile. The main difference is for a given linear instruction range, instead of each disassembled instruction,  pseudo probes that are covered by the range are processed. The pseudo probe extraction code is shared with CS probe profile generation.

I'm seeing 0.7% performance win for one of our internal large benchmark, and 0.5% win for another large benchmark when combined with profi.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120335

Files:
  llvm/test/tools/llvm-profgen/inline-pseudoprobe.test
  llvm/test/tools/llvm-profgen/noinline-pseudoprobe.test
  llvm/tools/llvm-profgen/ProfileGenerator.cpp
  llvm/tools/llvm-profgen/ProfileGenerator.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120335.410554.patch
Type: text/x-patch
Size: 12280 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220222/464bcceb/attachment-0001.bin>


More information about the llvm-commits mailing list