[PATCH] D132601: [llvm-profdata] Improve profile supplementation

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 29 11:23:54 PDT 2022


xur updated this revision to Diff 456423.
xur added a comment.

Integrated David's review comment. 
For the merge profile merge, also skip the value profile merge if the count is pseudo kind.

Also added some tests to test pseudo profile merge.


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

https://reviews.llvm.org/D132601

Files:
  llvm/include/llvm/ProfileData/InstrProf.h
  llvm/lib/ProfileData/InstrProf.cpp
  llvm/lib/ProfileData/ProfileSummaryBuilder.cpp
  llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  llvm/test/Transforms/PGOProfile/Inputs/sample-profile-hot.proftext
  llvm/test/Transforms/PGOProfile/Inputs/sample-profile-warm.proftext
  llvm/test/Transforms/PGOProfile/Inputs/sample-profile.proftext
  llvm/test/Transforms/PGOProfile/Inputs/suppl-profile.proftext
  llvm/test/Transforms/PGOProfile/suppl-profile.ll
  llvm/test/tools/llvm-profdata/Inputs/overflow-instr.proftext
  llvm/test/tools/llvm-profdata/Inputs/pseudo-count-hot.proftext
  llvm/test/tools/llvm-profdata/Inputs/pseudo-count-warm.proftext
  llvm/test/tools/llvm-profdata/overflow-instr.test
  llvm/test/tools/llvm-profdata/pseudo_count.test
  llvm/test/tools/llvm-profdata/suppl-instr-with-sample.test
  llvm/tools/llvm-profdata/llvm-profdata.cpp
  llvm/unittests/ProfileData/InstrProfTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132601.456423.patch
Type: text/x-patch
Size: 26211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220829/83142b52/attachment.bin>


More information about the llvm-commits mailing list