This is an archive of the discontinued LLVM Phabricator instance.

[llvm-exegesis] Check counters before running
ClosedPublic

Authored by mstojanovic on Dec 27 2019, 6:31 AM.

Details

Summary

Check if the appropriate counter for the specified mode is defined on the target. This is checked before any other work is done.

Diff Detail

Event Timeline

mstojanovic created this revision.Dec 27 2019, 6:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 27 2019, 6:31 AM
Herald added a subscriber: tschuett. · View Herald Transcript
courbet added inline comments.Dec 31 2019, 12:07 AM
llvm/tools/llvm-exegesis/lib/Target.cpp
57

typo: Couters

72

This is a change from the previous behaviour: The counter for number of uops is optional.

Fixed typos.
Added a check of IssueCounters.

courbet accepted this revision.Dec 31 2019, 4:03 AM
This revision is now accepted and ready to land.Dec 31 2019, 4:03 AM
This revision was automatically updated to reflect the committed changes.