[llvm] [SampleFDO] Stale profile renaming matching (PR #92151)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 17 21:16:58 PDT 2024
================
@@ -58,6 +60,20 @@ class SampleProfileMatcher {
StringMap<std::unordered_map<LineLocation, MatchState, LineLocationHash>>
FuncCallsiteMatchStates;
+ struct RenameDecisionCacheHash {
----------------
WenleiHe wrote:
naming: rename is not a decision. More like `FunctionProfileNameMap`?
Also I suggest we don't put too much emphasis on "renaming", because this is more general than handling renaming as renaming is one of the causes.
https://github.com/llvm/llvm-project/pull/92151
More information about the llvm-commits
mailing list