[all-commits] [llvm/llvm-project] 7ddfb4: [Inlining] Introduce the function attribute "inlin...

Wolfgang Pieb via All-commits all-commits at lists.llvm.org
Fri Aug 12 11:07:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ddfb4dfeb1c52fa0714f1a0784899d7ccd23900
      https://github.com/llvm/llvm-project/commit/7ddfb4dfeb1c52fa0714f1a0784899d7ccd23900
  Author: Wolfgang Pieb <wolfgang_pieb at playstation.sony.com>
  Date:   2022-08-12 (Fri, 12 Aug 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/InlineCost.h
    M llvm/lib/Analysis/InlineCost.cpp
    M llvm/test/Transforms/Inline/inline-stacksize.ll

  Log Message:
  -----------
  [Inlining] Introduce the function attribute "inline-max-stacksize"

The value of the attribute is a size in bytes. It has the effect of
suppressing inlining of functions whose stacksizes exceed the given value.

Reviewed By: mtrofin

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




More information about the All-commits mailing list