[all-commits] [llvm/llvm-project] c50e6f: [Inline] Introduce a backend option to suppress in...

Wolfgang Pieb via All-commits all-commits at lists.llvm.org
Thu Jun 23 10:59:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c50e6f590cd42aa739cc469341721ff443c35c36
      https://github.com/llvm/llvm-project/commit/c50e6f590cd42aa739cc469341721ff443c35c36
  Author: Wolfgang Pieb <wolfgang_pieb at playstation.sony.com>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

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

  Log Message:
  -----------
  [Inline] Introduce a backend option to suppress inlining of functions with large stack sizes.

The hidden option max-inline-stacksize=<N> prevents the inlining of functions
with a stack size larger than N.

Reviewed By: mtrofin, aeubanks

Differential Review: https://reviews.llvm.org/D127988




More information about the All-commits mailing list