This is an archive of the discontinued LLVM Phabricator instance.

Add hasProfileSummary and has{Sample|Instrumentation}Profile methods.
ClosedPublic

Authored by eraman on May 12 2017, 3:40 PM.

Details

Reviewers
davidxl
Summary

ProfileSummaryInfo already checks whether the module has sample profile in determining profile counts. This will also be useful in inliner to clean up threshold updates.

Diff Detail

Event Timeline

eraman created this revision.May 12 2017, 3:40 PM
eraman retitled this revision from Add hasProfileSummary method. to Add hasProfileSummary and has{Sample|Instrumentation}Profile methods..May 16 2017, 11:51 AM
eraman edited the summary of this revision. (Show Details)
eraman updated this revision to Diff 99176.May 16 2017, 11:53 AM

Add has{Sample|Instrumentation}Profile methods and update the unit test.

davidxl accepted this revision.May 16 2017, 1:12 PM

lgtm

This revision is now accepted and ready to land.May 16 2017, 1:12 PM
eraman closed this revision.May 16 2017, 1:28 PM

Committed at r303204.