This is an archive of the discontinued LLVM Phabricator instance.

Only sets profile summary when it was not preset.
ClosedPublic

Authored by danielcdh on Dec 13 2016, 2:30 PM.

Details

Summary

SampleProfileLoader pass may be invoked twice by LTO. The 2nd pass should not append more summary info as it is already preset by the 1st pass.

Event Timeline

danielcdh updated this revision to Diff 81303.Dec 13 2016, 2:30 PM
danielcdh retitled this revision from to Only sets profile summary when it was not preset..
danielcdh updated this object.
danielcdh added reviewers: davidxl, eraman.
danielcdh added a subscriber: llvm-commits.
davidxl accepted this revision.Dec 14 2016, 9:20 AM
davidxl edited edge metadata.

lgtm

This revision is now accepted and ready to land.Dec 14 2016, 9:20 AM
danielcdh closed this revision.Dec 14 2016, 2:17 PM