Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion llvm/lib/Target/AArch64/AArch64PfmCounters.td
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
//===----------------------------------------------------------------------===//

def CpuCyclesPfmCounter : PfmCounter<"CPU_CYCLES">;
def CpuCyclesPfmCounter : PfmCounter<"CYCLES">;

def DefaultPfmCounters : ProcPfmCounters {
let CycleCounter = CpuCyclesPfmCounter;
Expand Down
2 changes: 1 addition & 1 deletion llvm/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ TEST_F(AArch64TargetTest, SetRegToConstant) {
}

TEST_F(AArch64TargetTest, DefaultPfmCounters) {
const std::string Expected = "CPU_CYCLES";
const std::string Expected = "CYCLES";
EXPECT_EQ(ExegesisTarget_->getPfmCounters("").CycleCounter, Expected);
EXPECT_EQ(ExegesisTarget_->getPfmCounters("unknown_cpu").CycleCounter,
Expected);
Expand Down
Loading