[PATCH] D32666: [PartialInlining] Add support in partial inliner to use cost analysis in inliner

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 28 16:59:32 PDT 2017


davidxl created this revision.

Added all the hooks such that getInlineCost interface can be used in partial inliner. It is important to make sure the partial inliner share the cost model as the primary one.
(partial ininlining is still not enabled)


https://reviews.llvm.org/D32666

Files:
  lib/Transforms/IPO/PartialInlining.cpp
  test/Transforms/CodeExtractor/PartialInlineOptRemark.ll
  test/Transforms/CodeExtractor/PartialInlineOr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32666.97176.patch
Type: text/x-patch
Size: 10794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170428/a14be12c/attachment.bin>


More information about the llvm-commits mailing list