[all-commits] [llvm/llvm-project] 0196a8: [llvm-exegesis] Remove unused Counter::read method

Aiden Grossman via All-commits all-commits at lists.llvm.org
Sat Dec 30 21:54:19 PST 2023


  Branch: refs/heads/users/boomanaiden154/exegesis-validation-counters-no-read
  Home:   https://github.com/llvm/llvm-project
  Commit: 0196a8780f2d3a378f0fd3b86a6e6b6590ca02de
      https://github.com/llvm/llvm-project/commit/0196a8780f2d3a378f0fd3b86a6e6b6590ca02de
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-12-30 (Sat, 30 Dec 2023)

  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

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