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

Paul Kirth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 2 15:36:36 PST 2022


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

Move the logic for getting pointers into a helper and change update the alias's linkage and visibility if it is in a COMDAT.


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.ll
  llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
  llvm/test/Transforms/PGOProfile/prof_avoid_relocs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137982.479763.patch
Type: text/x-patch
Size: 4965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221202/b6074dee/attachment.bin>


More information about the llvm-commits mailing list