[PATCH] D45377: [SampleFDO] Don't let inliner treat warm callsite with inline instance in the profile as cold

Wei Mi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 16 09:23:28 PDT 2018


wmi updated this revision to Diff 142643.
wmi added a comment.

Tried David's suggestion and found the tests were good. The original regression for the target benchmark was recovered and we even got a little improvement. Another two server benchmarks had no performance change.

Patch was updated accordingly.


Repository:
  rL LLVM

https://reviews.llvm.org/D45377

Files:
  lib/Transforms/IPO/SampleProfile.cpp
  test/Transforms/SampleProfile/Inputs/warm-inline-instance.prof
  test/Transforms/SampleProfile/warm-inline-instance.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45377.142643.patch
Type: text/x-patch
Size: 13798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180416/7f8b87f2/attachment.bin>


More information about the llvm-commits mailing list