[PATCH] D88670: Reland rG4fcd1a8e6528:[llvm-exegesis] Add option to check the hardware support for a given feature before benchmarking.

Vy Nguyen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 09:17:38 PDT 2020


oontvoo created this revision.
oontvoo added a reviewer: ondrasej.
Herald added subscribers: llvm-commits, mstojanovic, krytarowski.
Herald added a project: LLVM.
oontvoo requested review of this revision.
Herald added a subscriber: courbet.

This is mostly for the benefit of the LBR latency mode.
Right now, it performs no checking. If this is run on non-supported hardware, it will produce all zeroes for latency.

  Differential Revision: https://reviews.llvm.org/D85254

New change: Updated lit.local.cfg to use pass the right argument to llvm-exegesis to actually request the LBR mode.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88670

Files:
  llvm/test/tools/llvm-exegesis/X86/lbr/lit.local.cfg
  llvm/tools/llvm-exegesis/lib/Target.h
  llvm/tools/llvm-exegesis/lib/X86/Target.cpp
  llvm/tools/llvm-exegesis/lib/X86/X86Counter.cpp
  llvm/tools/llvm-exegesis/lib/X86/X86Counter.h
  llvm/tools/llvm-exegesis/llvm-exegesis.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88670.295597.patch
Type: text/x-patch
Size: 9271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201001/77c342c9/attachment.bin>


More information about the llvm-commits mailing list