[PATCH] D86988: [Inliner] Run always-inliner in inliner-wrapper

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 23:09:08 PDT 2020


davidxl added a comment.

What is the compile time implication?

The key issue here is handling of recursive calls. With this change, it is also possible to suppress more always_inline which can happen without this change. For instance in your example, if 'a' is also marked with always_inline, then not allowing b to be inlined into 'a' will enable 'a' to be inlined into its other callers. With this change, it is suppressed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86988/new/

https://reviews.llvm.org/D86988



More information about the llvm-commits mailing list