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

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 17 11:44:54 PDT 2021


hoy added a comment.

I was thinking about capping on function size so that small callees such as getters/setters can always be inlined. What do you think?

From: Xinliang David Li <davidxl at google.com>
Date: Wednesday, March 17, 2021 at 9:02 AM
To: Hongtao Yu <reviews+D98481 <https://reviews.llvm.org/D98481>+public+2d824aa1c1081e47 at reviews.llvm.org>
Cc: Hongtao Yu <hoy at fb.com>, Wenlei He <wenlei at fb.com>, Kazu Hirata <kazu at google.com>, Chandler Carruth <chandlerc at gmail.com>, Wei Mi <wmi at google.com>, Easwaran Raman <eraman at google.com>, llvm-commits <llvm-commits at lists.llvm.org>, bhuvanendra.kumarn at amd.com <bhuvanendra.kumarn at amd.com>, 88888yl at gmail.com <88888yl at gmail.com>, dougpuob at gmail.com <dougpuob at gmail.com>, David Green <david.green at arm.com>
Subject: Re: [PATCH] D98481 <https://reviews.llvm.org/D98481>: [Inliner] Do not inline mutual-recursive functions to avoid exponential size growth.


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