[all-commits] [llvm/llvm-project] f9b3e3: Adjust macros which define the ML inlining features.

Jacob Hegna via All-commits all-commits at lists.llvm.org
Thu Apr 27 15:58:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9b3e3411cc09393afecfdef6439a77e9ba77cc9
      https://github.com/llvm/llvm-project/commit/f9b3e3411cc09393afecfdef6439a77e9ba77cc9
  Author: Jacob Hegna <jacobhegna at gmail.com>
  Date:   2023-04-27 (Thu, 27 Apr 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/InlineModelFeatureMaps.h
    M llvm/lib/Analysis/InlineCost.cpp
    M llvm/lib/Analysis/MLInlineAdvisor.cpp

  Log Message:
  -----------
  Adjust macros which define the ML inlining features.

This aligns the inlining macros more closely with how the regalloc
macros are defined.

 - Explicitly specify the dtype/shape
 - Remove separate names for python/C++
 - Add docstring for inline cost features

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




More information about the All-commits mailing list