[PATCH] D35823: [Inliner] Do not apply any bonus for cold callsites.

Easwaran Raman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 24 16:39:36 PDT 2017


eraman created this revision.

Inlining cold callsites into a not-cold caller could prevent further
inlining of the caller.


https://reviews.llvm.org/D35823

Files:
  lib/Analysis/InlineCost.cpp
  test/Transforms/Inline/last-call-bonus.ll
  test/Transforms/Inline/last-call-no-bonus.ll
  test/Transforms/Inline/vector-no-bonus.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35823.107994.patch
Type: text/x-patch
Size: 6807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170724/8aa2052c/attachment.bin>


More information about the llvm-commits mailing list