[llvm] 84e8274 - [X86][llvm-exegesis] fix LNLP performance counter binding issue (#146348)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 30 21:59:26 PDT 2025
Author: Mahesh-Attarde
Date: 2025-07-01T10:29:23+05:30
New Revision: 84e82746c3ff63ec23a8b85e9efd4f7fccf92590
URL: https://github.com/llvm/llvm-project/commit/84e82746c3ff63ec23a8b85e9efd4f7fccf92590
DIFF: https://github.com/llvm/llvm-project/commit/84e82746c3ff63ec23a8b85e9efd4f7fccf92590.diff
LOG: [X86][llvm-exegesis] fix LNLP performance counter binding issue (#146348)
We added LNLP sched model recently, PFM counter bounding names needs to
match cpu string.
llvm-exegesis wont produce results without correct naming.
Co-authored-by: mattarde <mattarde at intel.com>
Added:
Modified:
llvm/lib/Target/X86/X86PfmCounters.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86PfmCounters.td b/llvm/lib/Target/X86/X86PfmCounters.td
index 20d96ffdb482e..b299633446410 100644
--- a/llvm/lib/Target/X86/X86PfmCounters.td
+++ b/llvm/lib/Target/X86/X86PfmCounters.td
@@ -254,7 +254,7 @@ def LunarLakePfmCounters : ProcPfmCounters {
];
let ValidationCounters = DefaultIntelPfmValidationCounters;
}
-def : PfmCountersBinding<"Lunarlake", LunarLakePfmCounters>;
+def : PfmCountersBinding<"lunarlake", LunarLakePfmCounters>;
// AMD X86 Counters.
defvar DefaultAMDPfmValidationCounters = [
More information about the llvm-commits
mailing list