[all-commits] [llvm/llvm-project] 4fcd1a: [llvm-exegesis] Add option to check the hardware s...

Vy Nguyen via All-commits all-commits at lists.llvm.org
Wed Sep 30 09:26:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fcd1a8e6528ca42fe656f2745e15d2b7f5de495
      https://github.com/llvm/llvm-project/commit/4fcd1a8e6528ca42fe656f2745e15d2b7f5de495
  Author: Vy Nguyen <vyng at google.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

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

  Log Message:
  -----------
  [llvm-exegesis] Add option to check the hardware support for a given feature before benchmarking.

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




More information about the All-commits mailing list