[PATCH] D116051: [InstrProf] Prevent duplicate functions in correlated data

Kyungwoo Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 20 13:38:01 PST 2021


kyulee added a comment.

I presume without debug-info related correlation (normal IRPGO), the metadata is merged by their linkage types/contents.
For my education, I wonder whether IRPGO might have the same named function with different different CFG shapes -- e.g., static functions.
This approach seems to pick the first appearance of metadata for the same named functions, and ignore the rest assuming they are all identical.
And also can we have a test case for this?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116051/new/

https://reviews.llvm.org/D116051



More information about the llvm-commits mailing list