[all-commits] [llvm/llvm-project] d6695e: [llvm] Add interface to drive inlining decision us...
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Wed May 13 13:28:20 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d6695e18763a05b30cb336c18157175277da8f4b
https://github.com/llvm/llvm-project/commit/d6695e18763a05b30cb336c18157175277da8f4b
Author: Mircea Trofin <mtrofin at google.com>
Date: 2020-05-13 (Wed, 13 May 2020)
Changed paths:
M llvm/include/llvm/Analysis/InlineAdvisor.h
M llvm/include/llvm/Passes/PassBuilder.h
M llvm/include/llvm/Transforms/IPO/Inliner.h
M llvm/lib/Analysis/InlineAdvisor.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/Transforms/IPO/Inliner.cpp
M llvm/test/Other/new-pm-defaults.ll
M llvm/test/Other/new-pm-lto-defaults.ll
M llvm/test/Other/new-pm-thinlto-defaults.ll
M llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
M llvm/test/Other/scc-deleted-printer.ll
M llvm/test/Other/scc-pass-printer.ll
M llvm/test/Transforms/Inline/inline_stats.ll
A llvm/test/Transforms/Inline/inlining-advisor-default.ll
M llvm/test/Transforms/Inline/internal-scc-members.ll
M llvm/test/Transforms/Inline/module-inlining.ll
M llvm/test/Transforms/Inline/monster_scc.ll
M llvm/test/Transforms/Inline/optimization-remarks-hotness-threshold.ll
M llvm/test/Transforms/Inline/optimization-remarks-passed-yaml.ll
M llvm/test/Transforms/Inline/optimization-remarks-with-hotness.ll
M llvm/test/Transforms/Inline/optimization-remarks-yaml.ll
M llvm/test/Transforms/Inline/optimization-remarks.ll
Log Message:
-----------
[llvm] Add interface to drive inlining decision using ML model
Summary:
This change introduces InliningAdvisor (and related APIs), the interface
that abstracts decision making away from the inlining pass. We will use
this interface to delegate decision making to a trained ML model,
subsequently (see referenced RFC).
RFC: http://lists.llvm.org/pipermail/llvm-dev/2020-April/140763.html
Reviewers: davidxl, eraman, dblaikie
Subscribers: mgorny, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D79042
More information about the All-commits
mailing list