This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by wmi on Sep 23 2019, 2:18 PM.

Details

Summary

In 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.

Diff Detail

Repository
rL LLVM

Event Timeline

wmi created this revision.Sep 23 2019, 2:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 23 2019, 2:18 PM
davidxl accepted this revision.Sep 23 2019, 2:27 PM

lgtm

This revision is now accepted and ready to land.Sep 23 2019, 2:27 PM
This revision was automatically updated to reflect the committed changes.