[PATCH] D95823: [SampleFDO][NFC] Detach SampleProfileLoader from SampleCoverageTracker

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 1 14:26:33 PST 2021


xur created this revision.
xur added reviewers: davidxl, wmi, wenlei.
Herald added a subscriber: hiraditya.
xur requested review of this revision.
Herald added a project: LLVM.

his is split from patch: https://reviews.llvm.org/D95698

This patch detaches SampleProfileLoader from SampleCoverageTracker. We plan to move SampleProfileLoader to a template class. This would keep
SampleCoverageTracker as a class. Also make callsiteIsHot() as a file static function.


https://reviews.llvm.org/D95823

Files:
  llvm/lib/Transforms/IPO/SampleProfile.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95823.320603.patch
Type: text/x-patch
Size: 5151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210201/81c9aa81/attachment.bin>


More information about the llvm-commits mailing list