This is an archive of the discontinued LLVM Phabricator instance.

Hookup ProfileSummary with SampleProfilerLoader
ClosedPublic

Authored by danielcdh on Jun 24 2016, 2:24 PM.

Diff Detail

Event Timeline

danielcdh updated this revision to Diff 61840.Jun 24 2016, 2:24 PM
danielcdh retitled this revision from to Hookup ProfileSummary with SampleProfilerLoader.
danielcdh updated this object.
danielcdh added reviewers: davidxl, eraman.
danielcdh added a subscriber: llvm-commits.
eraman edited edge metadata.Jun 24 2016, 2:31 PM

Please add a test case similar to test/Transforms/PGOProfile/PR28219.ll

danielcdh updated this revision to Diff 61846.Jun 24 2016, 2:53 PM
danielcdh edited edge metadata.

add testcase

The test should be in test/Transforms/SampleProfile/ . I pointed to the test case for reference. You don't need to add a new test case. You can modify an existing test case to test that the summary is available.

danielcdh updated this revision to Diff 61849.Jun 24 2016, 3:22 PM

move test

eraman accepted this revision.Jun 24 2016, 4:00 PM
eraman edited edge metadata.

lgtm

This revision is now accepted and ready to land.Jun 24 2016, 4:00 PM
danielcdh closed this revision.Jun 24 2016, 4:03 PM