This is an archive of the discontinued LLVM Phabricator instance.

[llvm-exegesis][NFC] Add a way to declare the default counter binding for unbound CPUs for a target.
ClosedPublic

Authored by courbet on Nov 9 2018, 1:29 AM.

Details

Summary

This simplifies the code and moves everything to tablegen for consistency. This
also prepares the ground for adding issue counters.

Diff Detail

Repository
rL LLVM

Event Timeline

courbet created this revision.Nov 9 2018, 1:29 AM
gchatelet accepted this revision.Nov 9 2018, 2:37 AM
gchatelet added inline comments.
utils/TableGen/ExegesisEmitter.cpp
159 ↗(On Diff #173282)

llvm::any_of ?

This revision is now accepted and ready to land.Nov 9 2018, 2:37 AM
courbet updated this revision to Diff 173291.Nov 9 2018, 2:43 AM

s/!all(empty)/any(!empty/)

courbet marked an inline comment as done.Nov 9 2018, 2:44 AM
This revision was automatically updated to reflect the committed changes.