[all-commits] [llvm/llvm-project] 259e4c: [CSSPGO] Trim cold base profiles for the CS preinl...
Hongtao Yu via All-commits
all-commits at lists.llvm.org
Wed Oct 27 22:50:52 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 259e4c565846eea4fa09941f1a776636d4d024bc
https://github.com/llvm/llvm-project/commit/259e4c565846eea4fa09941f1a776636d4d024bc
Author: Hongtao Yu <hoy at fb.com>
Date: 2021-10-27 (Wed, 27 Oct 2021)
Changed paths:
M llvm/include/llvm/ProfileData/SampleProf.h
M llvm/lib/ProfileData/SampleProf.cpp
M llvm/test/tools/llvm-profgen/cs-preinline.test
M llvm/tools/llvm-profdata/llvm-profdata.cpp
M llvm/tools/llvm-profgen/CSPreInliner.cpp
M llvm/tools/llvm-profgen/ProfileGenerator.cpp
Log Message:
-----------
[CSSPGO] Trim cold base profiles for the CS preinliner.
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 when preinliner is on unless explicitly specified.
Reviewed By: wenlei, wlei
Differential Revision: https://reviews.llvm.org/D112489
More information about the All-commits
mailing list