[all-commits] [llvm/llvm-project] 99f006: Unpack the CostEstimate feature in ML inlining mod...

Jacob Hegna via All-commits all-commits at lists.llvm.org
Fri Jul 2 09:59:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99f00635d7acf1cbcdba35e7621f3a211aa3f237
      https://github.com/llvm/llvm-project/commit/99f00635d7acf1cbcdba35e7621f3a211aa3f237
  Author: Jacob Hegna <jacobhegna at google.com>
  Date:   2021-07-02 (Fri, 02 Jul 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/InlineCost.h
    M llvm/include/llvm/Analysis/InlineModelFeatureMaps.h
    M llvm/lib/Analysis/CMakeLists.txt
    M llvm/lib/Analysis/InlineCost.cpp
    M llvm/lib/Analysis/MLInlineAdvisor.cpp
    M llvm/lib/Analysis/models/inlining/config.py
    M llvm/unittests/Analysis/CMakeLists.txt
    A llvm/unittests/Analysis/InlineCostTest.cpp

  Log Message:
  -----------
  Unpack the CostEstimate feature in ML inlining models.

This change yields an additional 2% size reduction on an internal search
binary, and an additional 0.5% size reduction on fuchsia.

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




More information about the All-commits mailing list