[PATCH] D103071: [CSSPGO][llvm-profgen] Change default cold threshold for context merging

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 24 21:32:05 PDT 2021


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

llvm-profgen uses profile summary based cold threshold to merge and trim cold context profile. This is to strike a good balance between profile size and performance.

We've been using 99.9% as the cutoff to save profile size without affecting performance. This change switch to use 99.9% instead of 99.9999% as default cold threshold cutoff for llvm-profgen.

Redundant switch csprof-cold-thres is also removed and tests cleaned up.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103071

Files:
  llvm/test/tools/llvm-profgen/cs-extbinary.test
  llvm/test/tools/llvm-profgen/fname-canonicalization.test
  llvm/test/tools/llvm-profgen/inline-cs-dangling-pseudoprobe.test
  llvm/test/tools/llvm-profgen/inline-cs-noprobe.test
  llvm/test/tools/llvm-profgen/inline-cs-pseudoprobe.test
  llvm/test/tools/llvm-profgen/merge-cold-profile.test
  llvm/test/tools/llvm-profgen/noinline-cs-noprobe.test
  llvm/test/tools/llvm-profgen/noinline-cs-pseudoprobe.test
  llvm/test/tools/llvm-profgen/recursion-compression-noprobe.test
  llvm/test/tools/llvm-profgen/recursion-compression-pseudoprobe.test
  llvm/tools/llvm-profgen/ProfileGenerator.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103071.347575.patch
Type: text/x-patch
Size: 14611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210525/fb47bf56/attachment.bin>


More information about the llvm-commits mailing list