[llvm] [SampleFDO] Stale profile call-graph matching (PR #92151)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 4 00:49:50 PDT 2024
================
@@ -160,6 +201,48 @@ class SampleProfileMatcher {
void runStaleProfileMatching(const Function &F, const AnchorMap &IRAnchors,
const AnchorMap &ProfileAnchors,
LocToLocMap &IRToProfileLocationMap);
+ /// Find the existing or new matched function using the profile name.
+ ///
+ /// \returns The function pointer.
----------------
WenleiHe wrote:
why using `///` style comment, while existing code in this file all use `//` style comment.
Also some comments has `param` sections while others don't. I would suggest simple `//` style comment.
https://github.com/llvm/llvm-project/pull/92151
More information about the llvm-commits
mailing list