Revert "[llvm-profdata] Refactoring Sample Profile Reader to increase FDO build speed...
authorHaojian Wu <hokein.wu@gmail.com>
Tue, 27 Jun 2023 13:15:02 +0000 (15:15 +0200)
committerHaojian Wu <hokein.wu@gmail.com>
Tue, 27 Jun 2023 13:19:35 +0000 (15:19 +0200)
commit58056ae299633ed701f9ea6bd1fdd573abe7e799
tree7512a3bdba01031e8909af68d89668bfb4c5446a
parentc352fa7407122ee62d990d6b82551650149f98d4
Revert "[llvm-profdata] Refactoring Sample Profile Reader to increase FDO build speed using MD5 as key to Sample Profile map"

This reverts commit 12e9c7aaa66b7624b5d7666ce2794d912bf9e4b7.

The commit has broken the buildbot, see comment https://reviews.llvm.org/D147740#4451540
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