[PATCH] D138231: [CSSPGO][Preinliner] Use one for zero-sized functions when computing inline budge

Lei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 17 12:00:31 PST 2022


wlei added a comment.

I think we actually will use the `ProfileInlineLimitMin` which is 100 for the count, see `SizeLimit = std::max(SizeLimit, (unsigned)ProfileInlineLimitMin);`

`ProfileInlineGrowthLimit` is by default set to 12, and 1 * 12 is still smaller than 100.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138231



More information about the llvm-commits mailing list