[PATCH] D154142: [llvm-mca][RISCV] Add RISCV-SEW instrument

Min-Yih Hsu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 29 21:26:29 PDT 2023


myhsu added inline comments.


================
Comment at: llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.h:46
+
+  RISCVSEWInstrument(StringRef Data) : Instrument(DESC_NAME, Data) {}
+
----------------
maybe adding `explicit`?


================
Comment at: llvm/test/tools/llvm-mca/RISCV/different-sew-instruments.s:8
+vdiv.vv v8, v8, v12
+vsetvli zero, a0, e64, m1, tu, mu
+# LLVM-MCA-RISCV-SEW E64
----------------
is there any specific reason to test with the same LMUL here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154142



More information about the llvm-commits mailing list