[PATCH] D98481: [Inliner] Do not inline mutual-recursive functions to avoid exponential size growth.

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 16 19:23:48 PDT 2021


davidxl added a comment.

Hiroshi is working on the implementation, and I expect upstreaming happening soon. In a nutshell, the working set analysis is based on building interprocedural loop graph (ILG) and working set propagation.

Yes what you describe about the option sounds reasonable, though I am not sure about warning. Some -Rpass-analysis or -Rpass-missed message or some debug output seem better.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98481



More information about the llvm-commits mailing list