[PATCH] D70655: [AutoFDO] Top-down Inlining for specialization with context-sensitive profile

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 10:45:37 PST 2019


davidxl added a comment.

One way to handle it is 1) delay early inlining of sites into a hot function if a big percentage of calls to the function are from other modules. This still allows intra module top down inlining of it; or 2) keep a clone of the unlined body of the original function and use that one during cross module inlining.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70655





More information about the llvm-commits mailing list