Revert "[llvm-profdata] Refactoring Sample Profile Reader to increase FDO build speed...
authorDouglas Yung <douglas.yung@sony.com>
Sat, 24 Jun 2023 00:58:22 +0000 (17:58 -0700)
committerDouglas Yung <douglas.yung@sony.com>
Sat, 24 Jun 2023 00:58:22 +0000 (17:58 -0700)
commitc9a8a0e8a9b267fae0352af352e9c735fef019f7
tree93fb7c0820e2baf3fcc66ae8f3c083c6b67b7067
parenta7fb8659b2a418b0dafcb96337133e8b7fa1e03c
Revert "[llvm-profdata] Refactoring Sample Profile Reader to increase FDO build speed using MD5 as key to Sample Profile map"

This reverts commit 31af18bccea95fe1ae8aa2c51cf7c8e92a1c208e.

This change is causing build failures on many Windows build bots:

https://lab.llvm.org/buildbot/#/builders/216/builds/22833
https://lab.llvm.org/buildbot/#/builders/123/builds/19602
https://lab.llvm.org/buildbot/#/builders/172/builds/28315
https://lab.llvm.org/buildbot/#/builders/119/builds/13870
https://lab.llvm.org/buildbot/#/builders/233/builds/794
https://lab.llvm.org/buildbot/#/builders/235/builds/387
https://lab.llvm.org/buildbot/#/builders/13/builds/36921
https://lab.llvm.org/buildbot/#/builders/127/builds/50510
14 files changed:
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/test/tools/llvm-profdata/Inputs/sample-nametable-after-samples.profdata
llvm/test/tools/llvm-profdata/sample-nametable.test
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 [deleted file]
llvm/unittests/tools/llvm-profdata/OutputSizeLimitTest.cpp