[PATCH] D73994: [InlineCost] Relax bonus restrictions on uninlinable functions

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 15:27:43 PST 2020


davidxl added a comment.

This is sort of extension of the 'shouldBeDeferred' check in Inliner.cpp, except that here the caller may not actually be inlined.  Blindly eliminating bonus may preventing the callee from being inlined while not actually enabling the caller to be inlined.


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

https://reviews.llvm.org/D73994





More information about the llvm-commits mailing list