[PATCH] D147794: [mlgo][inl] Interactive mode: optionally tell the default decision
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 7 10:39:30 PDT 2023
mtrofin created this revision.
mtrofin added a reviewer: jacobhegna.
Herald added a subscriber: hiraditya.
Herald added a project: All.
mtrofin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This helps training algorithms that may want to sometimes replicate the
default decision. The default decision is presented as an extra feature
called `inlining_default`. It's not normally exported to save
computation time.
This is only available in interactive mode.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D147794
Files:
llvm/include/llvm/Analysis/InlineAdvisor.h
llvm/include/llvm/Analysis/InlineModelFeatureMaps.h
llvm/include/llvm/Analysis/MLInlineAdvisor.h
llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
llvm/lib/Analysis/InlineAdvisor.cpp
llvm/lib/Analysis/MLInlineAdvisor.cpp
llvm/test/Transforms/Inline/ML/interactive-mode.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147794.511718.patch
Type: text/x-patch
Size: 9678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230407/1cabbb9c/attachment.bin>
More information about the llvm-commits
mailing list