[all-commits] [llvm/llvm-project] 0e3434: [llvm-mca] Compare multiple files

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Tue Dec 21 02:57:16 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e343479a7ea9cabac8c467cd24bc3ed463b8786
  Author: Djordje Todorovic <djordje.todorovic at syrmia.com>
  Date:   2021-12-21 (Tue, 21 Dec 2021)

  Changed paths:
    A llvm/utils/llvm-mca-compare.py

  Log Message:
  [llvm-mca] Compare multiple files

Script (llvm-mca-compare.py) uses llvm-mca tool to print
statistics in console for multiple files.
Script requires specified --llvm-mca-binary option (specified
relative path to binary of llvm-mca).
Options: --args [="-option1=<arg> -option2=<arg> ..."], -v or -h can also be used.

The script is used as follows:
$ llvm-project/llvm/utils/llvm-mca-compare.py file1.s --llvm-mca-binary=build/bin/llvm-mca

Patch by Milica Matic <Milica.Matic at syrmia.com>

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

More information about the All-commits mailing list