[all-commits] [llvm/llvm-project] 8564e2: [Inlining] Add a clang option to limit inlining of...

Wolfgang Pieb via All-commits all-commits at lists.llvm.org
Thu Aug 18 11:57:00 PDT 2022


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

  Changed paths:
    M clang/docs/ClangCommandLineReference.rst
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/CodeGen/inline-stacksize.c

  Log Message:
  -----------
  [Inlining] Add a clang option to limit inlining of functions

Add the clang option -finline-max-stacksize=<N> to suppress inlining
of functions whose stack size exceeds the given value.

Reviewed By: aeubanks

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




More information about the All-commits mailing list