diff options
author | Tianle Liu <tianle.l.liu@intel.com> | 2025-04-14 11:21:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-14 11:21:08 +0800 |
commit | e038c5401c99ca1f19a873a5c88ad7db4645a26a (patch) | |
tree | 22622d495df9e29413371b3fd983491d0a77c098 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 7778a197e65ad1b0cae794318870d41d8c59a3fb (diff) | |
download | llvm-e038c5401c99ca1f19a873a5c88ad7db4645a26a.zip llvm-e038c5401c99ca1f19a873a5c88ad7db4645a26a.tar.gz llvm-e038c5401c99ca1f19a873a5c88ad7db4645a26a.tar.bz2 |
[LTO][Pipelines] Add 0 hot-caller threshold for SamplePGO + FullLTO (#135152)
If a hot callsite function is not inlined in the 1st build, inlining the
hot callsite in pre-link stage of SPGO 2nd build may lead to Function
Sample not found in profile file in link stage. It will miss some
profile info.
ThinLTO has already considered and dealed with it by setting
HotCallSiteThreshold to 0 to stop the inline. This patch just adds the
same processing for FullLTO.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions