[PATCH] D107034: [CSPGO] Set EnableValueProfiling flag for CSPGO to avoid IRPGO value loss in LTO

Yolanda via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 13 02:38:25 PDT 2021


YolandaCY updated this revision to Diff 366226.
YolandaCY retitled this revision from "[LTO][CSPGO] Set EnableValueProfiling flag for CSPGO when running with mixed-LTO mode" to "[CSPGO] Set EnableValueProfiling flag for CSPGO to avoid IRPGO value loss in LTO".
YolandaCY edited the summary of this revision.
YolandaCY added a comment.

Set the flag earlier when generate the IRPGO var


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107034

Files:
  lld/COFF/LTO.cpp
  llvm/lib/ProfileData/InstrProf.cpp
  llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
  llvm/test/Instrumentation/InstrProfiling/comdat.ll
  llvm/test/Transforms/PGOProfile/lto_cspgo_gen.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107034.366226.patch
Type: text/x-patch
Size: 7531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210813/4c6c85d6/attachment.bin>


More information about the llvm-commits mailing list