[PATCH] D154526: [llvm-mca][RISCV] vsetivli and vsetvli act as instruments

Michael Maitland via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 5 14:08:09 PDT 2023


michaelmaitland updated this revision to Diff 537492.
michaelmaitland marked 4 inline comments as done.
michaelmaitland added a comment.

- Avoid duplicate store of CodeRegions and InstrumentRegions in InstrumentMCStreamer
- Remove errs()
- Remove duplicate call to createInstruments


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154526

Files:
  llvm/include/llvm/MCA/CustomBehaviour.h
  llvm/lib/MCA/CustomBehaviour.cpp
  llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.cpp
  llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.h
  llvm/test/tools/llvm-mca/RISCV/no-vsetvli-to-start.s
  llvm/test/tools/llvm-mca/RISCV/vsetivli-lmul-instrument.s
  llvm/test/tools/llvm-mca/RISCV/vsetvli-lmul-instrument.s
  llvm/tools/llvm-mca/CodeRegionGenerator.cpp
  llvm/tools/llvm-mca/CodeRegionGenerator.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154526.537492.patch
Type: text/x-patch
Size: 23759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230705/934d8923/attachment.bin>


More information about the llvm-commits mailing list