[PATCH] D147456: [AutoFDO] Stale profile matching(part 1)

Lei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 5 14:38:09 PDT 2023


wlei added a comment.

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.


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