[PATCH] D137440: [RISCV][llvm-mca] Use LMUL Instruments to provide more accurate reports on RISCV

Michael Maitland via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 10 16:37:32 PST 2022


michaelmaitland updated this revision to Diff 474633.
michaelmaitland added a comment.

- drop llvm:: where possible
- iterate over reference instead of copy of IVec
- simplify nullptr check
- add const qualifier
- change public InstrumentRegion and AnalysisRegion classes to struct


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137440/new/

https://reviews.llvm.org/D137440

Files:
  llvm/docs/CommandGuide/llvm-mca.rst
  llvm/include/llvm/MC/TargetRegistry.h
  llvm/include/llvm/MCA/CustomBehaviour.h
  llvm/include/llvm/MCA/InstrBuilder.h
  llvm/lib/MCA/CustomBehaviour.cpp
  llvm/lib/MCA/InstrBuilder.cpp
  llvm/lib/Target/RISCV/CMakeLists.txt
  llvm/lib/Target/RISCV/MCA/CMakeLists.txt
  llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.cpp
  llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.h
  llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
  llvm/tools/llvm-mca/CodeRegion.cpp
  llvm/tools/llvm-mca/CodeRegion.h
  llvm/tools/llvm-mca/CodeRegionGenerator.cpp
  llvm/tools/llvm-mca/CodeRegionGenerator.h
  llvm/tools/llvm-mca/llvm-mca.cpp
  llvm/unittests/tools/llvm-mca/MCATestBase.cpp
  llvm/unittests/tools/llvm-mca/X86/TestIncrementalMCA.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137440.474633.patch
Type: text/x-patch
Size: 60251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221111/3ba25cc1/attachment.bin>


More information about the llvm-commits mailing list