[all-commits] [llvm/llvm-project] d275a0: [AutoFDO] Statistic for context sensitive profile ...
WenleiHe via All-commits
all-commits at lists.llvm.org
Wed Dec 11 21:44:34 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d275a064871763ab3a7712c74712d2fd1d0bef5d
https://github.com/llvm/llvm-project/commit/d275a064871763ab3a7712c74712d2fd1d0bef5d
Author: Wenlei He <aktoon at gmail.com>
Date: 2019-12-11 (Wed, 11 Dec 2019)
Changed paths:
M llvm/lib/Transforms/IPO/SampleProfile.cpp
M llvm/test/Transforms/SampleProfile/inline-coverage.ll
A llvm/test/Transforms/SampleProfile/inline-stats.ll
M llvm/test/Transforms/SampleProfile/remarks.ll
Log Message:
-----------
[AutoFDO] Statistic for context sensitive profile guided inlining
Summary: AutoFDO compilation has two places that do inlining - the sample profile loader that does inlining with context sensitive profile, and the regular inliner as CGSCC pass. Ideally we want most inlining to come from sample profile loader as that is driven by context sensitive profile and also retains context sensitivity after inlining. However the reality is most of the inlining actually happens during regular inliner. To track the number of inline instances from sample profile loader and help move more inlining to sample profile loader, I'm adding statistics and optimization remarks for sample profile loader's inlining.
Reviewers: wmi, davidxl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70584
More information about the All-commits
mailing list