[all-commits] [llvm/llvm-project] 6f4cc1: [llvm-exegesis] Remove unused Counter::read method...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Fri Jan 5 13:32:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f4cc1310b12bc59210e4596a895db4cb9ad6075
      https://github.com/llvm/llvm-project/commit/6f4cc1310b12bc59210e4596a895db4cb9ad6075
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2024-01-05 (Fri, 05 Jan 2024)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
    M llvm/tools/llvm-exegesis/lib/PerfHelper.cpp
    M llvm/tools/llvm-exegesis/lib/PerfHelper.h

  Log Message:
  -----------
  [llvm-exegesis] Remove unused Counter::read method (#76651)

This method was simply a wrapper around readOrError. All users within
the llvm-exegesis code base should have been processing an actual error
rather than using the wrapper. This patch removes the wrapper and
rewrites the users (just 1) to use the readOrError method.




More information about the All-commits mailing list