[llvm] [llvm-exegesis] Add tablegen support for validation counters (PR #76652)
Clement Courbet via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 10 00:34:25 PST 2024
================
@@ -100,6 +105,17 @@ ExegesisEmitter::ExegesisEmitter(RecordKeeper &RK)
Target = std::string(Targets[0]->getName());
}
+struct ValidationCounterInfo {
+ int64_t EventNumber;
+ StringRef EventName;
+ unsigned PfmCounterID;
+};
+
+bool CompareValidationCounterInfo(ValidationCounterInfo &LHS,
----------------
legrosbuffle wrote:
[nit] `EventNumberLess` ?
Also, `const ValidationCounterInfo&`.
https://github.com/llvm/llvm-project/pull/76652
More information about the llvm-commits
mailing list