[PATCH] D147456: [AutoFDO] Stale profile matching(part 1)
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 5 15:13:23 PDT 2023
davidxl added a comment.
In D147456#4247075 <https://reviews.llvm.org/D147456#4247075>, @wlei wrote:
> Thank you for all the feedback, I will try to address it later. I saw you all are curious the algorithm part, here it is: https://reviews.llvm.org/D147545.
>
>> Just browsed the patch, I don't seem to find how FUncToMatchingsMap is populated which is the core of the stale profile matching algorithm. Does algorithm use some anchor points to do the remapping?
>
> Yes, here is the algorithm part : https://reviews.llvm.org/D147545, it leverages the callee name/ calltarget name as anchor which doesn't need any other additional info.
thanks. The anchor based remapping can be effective to formatting changes, NFC changes such as adding new comments in the source .
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147456/new/
https://reviews.llvm.org/D147456
More information about the llvm-commits
mailing list