[PATCH] D108432: [InstrProfiling] Keep profd non-private for non-renamable comdat functions

Yolanda via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 20 02:23:16 PDT 2021


YolandaCY added a comment.

"This is super rare, but is possible with CSPGO (which can make a weak_odr function inlines its callees differently, sometimes with value profiling while sometimes without)."

This may not be an issue to CSPGO, if the IRPGOFlag can be correctly handled as addressed at https://reviews.llvm.org/D107034.
So this may only happen with -fprofile-instr-generate, which should be in a rare case (not sure if it's possible), but not specific to CSPGO.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108432



More information about the llvm-commits mailing list