[PATCH] D67931: [SampleFDO] Treat names in profile as not cold only when profile symbol list is available

Wei Mi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 14:20:20 PDT 2019


wmi created this revision.
wmi added reviewers: davidxl, mtrofin.
Herald added a project: LLVM.

In rL372232 <https://reviews.llvm.org/rL372232>, we treated names showing up in profile as not cold when profile-sample-accurate is enabled. This caused 70k size regression in Chrome/Android. The patch put a guard and only enable the change when profile symbol list is available, i.e., keep the old behavior when profile symbol list is not available.


Repository:
  rL LLVM

https://reviews.llvm.org/D67931

Files:
  lib/Transforms/IPO/SampleProfile.cpp
  test/Transforms/SampleProfile/profile-sample-accurate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67931.221410.patch
Type: text/x-patch
Size: 6533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190923/9b87eed9/attachment-0001.bin>


More information about the llvm-commits mailing list