[PATCH] D147740: [llvm-profdata] Refactoring Sample Profile Reader to increase FDO build speed using MD5 as key to Sample Profile map

William Junda Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 14:28:10 PDT 2023


huangjd updated this revision to Diff 527624.
huangjd added a comment.

Fix bug in emplace on MD5 collision

Added unit test


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147740

Files:
  llvm/include/llvm/ProfileData/SampleProf.h
  llvm/include/llvm/ProfileData/SampleProfReader.h
  llvm/lib/ProfileData/ProfileSummaryBuilder.cpp
  llvm/lib/ProfileData/SampleProf.cpp
  llvm/lib/ProfileData/SampleProfReader.cpp
  llvm/lib/ProfileData/SampleProfWriter.cpp
  llvm/lib/Transforms/IPO/SampleContextTracker.cpp
  llvm/tools/llvm-profdata/llvm-profdata.cpp
  llvm/tools/llvm-profgen/ProfileGenerator.cpp
  llvm/unittests/tools/llvm-profdata/CMakeLists.txt
  llvm/unittests/tools/llvm-profdata/MD5CollisionTest.cpp
  llvm/unittests/tools/llvm-profdata/OutputSizeLimitTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147740.527624.patch
Type: text/x-patch
Size: 41942 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230601/c03820fc/attachment.bin>


More information about the llvm-commits mailing list