[PATCH] D95024: [NFC] Factor out common part for CSSPGO inline and AFDO inline
Wenlei He via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 19 23:54:04 PST 2021
wenlei created this revision.
wenlei added reviewers: wmi, hoy, davidxl.
Herald added subscribers: modimo, lxfind, hiraditya.
wenlei requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Refactoring SampleProfileLoader::inlineHotFunctions to use helpers from CSSPGO inlining and reduce similar code in the inlining loop, plus minor cleanup for AFDO path.
Test Plan:
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D95024
Files:
llvm/lib/Transforms/IPO/SampleProfile.cpp
llvm/test/Transforms/SampleProfile/remarks.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95024.317786.patch
Type: text/x-patch
Size: 14693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210120/9e3ff7ce/attachment.bin>
More information about the llvm-commits
mailing list