This is an archive of the discontinued LLVM Phabricator instance.

[llvm][NFC] Use CallBase instead of Instruction in ProfileSummaryInfo
ClosedPublic

Authored by mtrofin on Apr 27 2020, 9:21 AM.

Details

Summary

getProfileCount requires the parameter be a valid CallBase, and its uses
reflect that.

Diff Detail

Event Timeline

mtrofin created this revision.Apr 27 2020, 9:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2020, 9:21 AM
dblaikie accepted this revision.Apr 27 2020, 7:22 PM

Looks good!

This revision is now accepted and ready to land.Apr 27 2020, 7:22 PM
This revision was automatically updated to reflect the committed changes.