[PATCH] D112678: [CSSPGO] Trim cold profiles with the CS preinliner.
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 27 17:00:08 PDT 2021
hoy created this revision.
Herald added subscribers: modimo, wenlei, hiraditya, eraman.
hoy requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Adding support to the CS preinliner to trim cold base profiles. This makes trimming consistent with the inline decision made by the preinliner. Also disable the existing profile merger/trimmer when preinliner is on.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D112678
Files:
llvm/include/llvm/ProfileData/SampleProf.h
llvm/lib/ProfileData/SampleProf.cpp
llvm/test/tools/llvm-profgen/cs-preinline.test
llvm/tools/llvm-profdata/llvm-profdata.cpp
llvm/tools/llvm-profgen/CSPreInliner.cpp
llvm/tools/llvm-profgen/ProfileGenerator.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112678.382857.patch
Type: text/x-patch
Size: 5564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211028/4ac8d91b/attachment.bin>
More information about the llvm-commits
mailing list