[all-commits] [llvm/llvm-project] 10cb03: [llvm-mca] Refactor the logic that prints JSON files.

Andrea Di Biagio via All-commits all-commits at lists.llvm.org
Fri Jul 9 15:02:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10cb03622325e699d53fbca819e03dca2519f5aa
      https://github.com/llvm/llvm-project/commit/10cb03622325e699d53fbca819e03dca2519f5aa
  Author: Andrea Di Biagio <andrea.dibiagio at sony.com>
  Date:   2021-07-09 (Fri, 09 Jul 2021)

  Changed paths:
    A llvm/test/tools/llvm-mca/JSON/X86/instruction-tables-multiple-regions.s
    M llvm/tools/llvm-mca/PipelinePrinter.cpp
    M llvm/tools/llvm-mca/PipelinePrinter.h
    M llvm/tools/llvm-mca/Views/InstructionView.cpp
    M llvm/tools/llvm-mca/Views/InstructionView.h
    M llvm/tools/llvm-mca/Views/View.cpp
    M llvm/tools/llvm-mca/Views/View.h
    M llvm/tools/llvm-mca/llvm-mca.cpp

  Log Message:
  -----------
  [llvm-mca] Refactor the logic that prints JSON files.

Moved most of the printing logic into the PipelinePrinter.

This patch also fixes the JSON output when flag -instruction-tables is
specified.




More information about the All-commits mailing list