Skip to content

Commit 6fd5ccf

Browse files
committed
[SampleFDO] Reapply: Refactor SampleProfile.cpp
Reapply patch after fixing buildbot failure. Refactor SampleProfile.cpp to use the core code in CodeGen. The main changes are: (1) Move SampleProfileLoaderBaseImpl class to a header file. (2) Split SampleCoverageTracker to a head file and a cpp file. (3) Move the common codes (common options and callsiteIsHot()) to the common cpp file. Differential Revision: https://reviews.llvm.org/D96455
1 parent d1a838b commit 6fd5ccf

File tree

5 files changed

+1125
-992
lines changed

5 files changed

+1125
-992
lines changed

0 commit comments

Comments
 (0)