[PATCH] D96455: [SampleFDO][NFC] Refactor SampleProfile.cpp

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 13:33:02 PST 2021


xur updated this revision to Diff 323131.
xur marked an inline comment as done.
xur added a comment.

Here is the version include the definition of SampleCoverageTracker in the base class.
Without using the wrapper functions, it does look a bit cleaner.


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

https://reviews.llvm.org/D96455

Files:
  llvm/include/llvm/ProfileData/SampleProfileLoaderBaseImpl.h
  llvm/include/llvm/ProfileData/SampleProfileLoaderBaseUtil.h
  llvm/lib/ProfileData/CMakeLists.txt
  llvm/lib/ProfileData/SampleProfileLoaderBaseUtil.cpp
  llvm/lib/Transforms/IPO/SampleProfile.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96455.323131.patch
Type: text/x-patch
Size: 89976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210211/f69f9ea0/attachment.bin>


More information about the llvm-commits mailing list