[PATCH] D146452: [AutoFDO] Use flattened profiles for profile staleness metrics
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 20 22:07:07 PDT 2023
davidxl added a comment.
Document the new llvm-profdata option in the Commandline guide.
================
Comment at: llvm/include/llvm/ProfileData/SampleProf.h:1288
+ ProfileConverter(SampleProfileMap &Profiles);
+ // CSProfileConverter converts a full context-sensitive flat sample profile
+ // into a nested context-sensitive sample profile.
----------------
Remove 'CS'
================
Comment at: llvm/lib/Transforms/IPO/SampleProfile.cpp:145
+ cl::desc(
+ "Use flattened profile for stale profile detection and matching."));
+
----------------
Can you add a test case of using the new option for state profile detection?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146452/new/
https://reviews.llvm.org/D146452
More information about the llvm-commits
mailing list