[PATCH] D112681: [CSSPGO] Trim cold profiles with the CS preinliner.
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 27 18:00:34 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/D112681
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: D112681.382869.patch
Type: text/x-patch
Size: 5841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211028/3ce9e480/attachment.bin>
More information about the llvm-commits
mailing list