[PATCH] D137982: Reland "[pgo] Avoid introducing relocations by using private alias""

Paul Kirth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 14:49:20 PST 2022


paulkirth updated this revision to Diff 480638.
paulkirth added a comment.

Move check for `hasLocalLinkage()` into the check for `Fn->isDelcarationForLinker()`

- update comments
- fix typos
- add check to test


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137982

Files:
  compiler-rt/test/profile/instrprof-discarded-comdat.cpp
  compiler-rt/test/profile/instrprof-discarded-comdat.ll
  llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
  llvm/test/Transforms/PGOProfile/comdat.ll
  llvm/test/Transforms/PGOProfile/prof_avoid_relocs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137982.480638.patch
Type: text/x-patch
Size: 14095 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221206/6e7552de/attachment.bin>


More information about the llvm-commits mailing list