[PATCH] D54297: [llvm-exegesis][NFC] Add a way to declare the default counter binding for unbound CPUs for a target.
Guillaume Chatelet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 9 02:37:48 PST 2018
gchatelet accepted this revision.
gchatelet added inline comments.
This revision is now accepted and ready to land.
================
Comment at: utils/TableGen/ExegesisEmitter.cpp:159
+ const bool HasAtLeastOnePfmIssueCounter =
+ !llvm::all_of(PfmCounterDefs, [](const Record *Def) {
+ return Def->getValueAsListOfDefs("IssueCounters").empty();
----------------
`llvm::any_of` ?
Repository:
rL LLVM
https://reviews.llvm.org/D54297
More information about the llvm-commits
mailing list