[llvm] [SamplePGO] Support -salvage-stale-profile without probes too (PR #86116)
Lei Wang via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 21 19:46:12 PDT 2024
wlei-llvm wrote:
FWIW, there is a TODO of LTO time matching for AutoFDO path, see: https://github.com/llvm/llvm-project/blob/main/llvm/lib/Transforms/IPO/SampleProfile.cpp#L2239, it doesn't extract the non-callsite line-location anchor, so the regular instruction still uses the old mapping which may lead to inaccurate block count. At that time, we only compute the staleness stats for AutoFDO path, so I didn't add the support to save some build-time.
https://github.com/llvm/llvm-project/pull/86116
More information about the llvm-commits
mailing list