[all-commits] [llvm/llvm-project] ab2e76: [mlgo][inl] Interactive mode: optionally tell the ...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Mon Apr 10 12:20:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab2e7666c20d00a43b958e91c24991c973c81393
      https://github.com/llvm/llvm-project/commit/ab2e7666c20d00a43b958e91c24991c973c81393
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2023-04-10 (Mon, 10 Apr 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/InlineAdvisor.h
    M llvm/include/llvm/Analysis/InlineModelFeatureMaps.h
    M llvm/include/llvm/Analysis/MLInlineAdvisor.h
    M llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
    M llvm/lib/Analysis/InlineAdvisor.cpp
    M llvm/lib/Analysis/MLInlineAdvisor.cpp
    M llvm/test/Transforms/Inline/ML/interactive-mode.ll

  Log Message:
  -----------
  [mlgo][inl] Interactive mode: optionally tell the default decision

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.

Differential Revision: https://reviews.llvm.org/D147794




More information about the All-commits mailing list