[PATCH] D133697: [llvm-exegesis] Support analyzing results from a different target.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 06:58:34 PDT 2022


courbet created this revision.
courbet added a reviewer: gchatelet.
Herald added a subscriber: mstojanovic.
Herald added a project: All.
courbet requested review of this revision.
Herald added a project: LLVM.

We were using the native triple to parse the benchmarks. Use the triple
from the benchmarks file.

Right now this still only allows analyzing files produced by the current
target until D133605 <https://reviews.llvm.org/D133605> is in.

This also makes the `Analysis` class much less ad-hoc.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133697

Files:
  llvm/tools/llvm-exegesis/lib/Analysis.cpp
  llvm/tools/llvm-exegesis/lib/Analysis.h
  llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp
  llvm/tools/llvm-exegesis/lib/BenchmarkResult.h
  llvm/tools/llvm-exegesis/llvm-exegesis.cpp
  llvm/unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133697.459446.patch
Type: text/x-patch
Size: 20870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220912/87143ab6/attachment-0001.bin>


More information about the llvm-commits mailing list