From b18c34bc291a4e49c9399d45f25d7b11a6ccd670 Mon Sep 17 00:00:00 2001 From: Clement Courbet Date: Fri, 4 May 2018 15:26:12 +0000 Subject: [PATCH] [llvm-exegesis] Fix pfm counter names for BDW. Summary: They are not consistent with other microarchitectures. Reviewers: gchatelet Subscribers: tschuett, llvm-commits Differential Revision: https://reviews.llvm.org/D46434 llvm-svn: 331532 --- llvm/lib/Target/X86/X86PfmCounters.td | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/llvm/lib/Target/X86/X86PfmCounters.td b/llvm/lib/Target/X86/X86PfmCounters.td index 362057a6a934..d67ae5090934 100644 --- a/llvm/lib/Target/X86/X86PfmCounters.td +++ b/llvm/lib/Target/X86/X86PfmCounters.td @@ -36,14 +36,14 @@ def HWPort7Counter : PfmIssueCounter; let SchedModel = BroadwellModel in { def BWCycleCounter : PfmCycleCounter<"unhalted_core_cycles">; -def BWPort0Counter : PfmIssueCounter; -def BWPort1Counter : PfmIssueCounter; -def BWPort2Counter : PfmIssueCounter; -def BWPort3Counter : PfmIssueCounter; -def BWPort4Counter : PfmIssueCounter; -def BWPort5Counter : PfmIssueCounter; -def BWPort6Counter : PfmIssueCounter; -def BWPort7Counter : PfmIssueCounter; +def BWPort0Counter : PfmIssueCounter; +def BWPort1Counter : PfmIssueCounter; +def BWPort2Counter : PfmIssueCounter; +def BWPort3Counter : PfmIssueCounter; +def BWPort4Counter : PfmIssueCounter; +def BWPort5Counter : PfmIssueCounter; +def BWPort6Counter : PfmIssueCounter; +def BWPort7Counter : PfmIssueCounter; } let SchedModel = SkylakeClientModel in {