[PATCH] D95698: [SampleFDO][NFC] Move the core implementation of Sample Profile Loader to a template

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 13:51:46 PST 2021


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

Refactored Sample Profile Loader implementation so we can use the same code in Machine level IR. This is mainly for using in the 
Flow Sensitive SampleFDO. I did change some of the interfaces to simplify the code in the templates. But I think this is mostly NFC.


https://reviews.llvm.org/D95698

Files:
  llvm/include/llvm/Transforms/IPO/SampleProfileImpl.h
  llvm/lib/Transforms/IPO/SampleProfile.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95698.320209.patch
Type: text/x-patch
Size: 125969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210129/75526a83/attachment-0001.bin>


More information about the llvm-commits mailing list