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

Easwaran Raman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 28 13:52:10 PDT 2017


eraman updated this revision to Diff 108706.
eraman added a comment.

Replace the two vector bonus variables by one.

The smaller vector bonus is half of the larger one, so I've used just one VectorBonus variable.


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.108706.patch
Type: text/x-patch
Size: 12355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170728/c738023a/attachment.bin>


More information about the llvm-commits mailing list