[PATCH] D154136: [RISCV] Add SEW to RISCVInversePseudoTable

Michael Maitland via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 20:21:22 PDT 2023


michaelmaitland added inline comments.


================
Comment at: llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.cpp:148
       const RISCVVInversePseudosTable::PseudoInfo *RVV =
-          RISCVVInversePseudosTable::getBaseInfo(Opcode, LMUL);
+          RISCVVInversePseudosTable::getBaseInfo(Opcode, LMUL, 0);
       // Not a RVV instr
----------------
craig.topper wrote:
> Does passing 0 here mean it can only find pseudos where SEW is 0?
Yes, but this change only deals with LMUL specific pseudos, not LMUL and SEW specific pseudos. Please see the child patch to see how we deal with SEW specific pseudos.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154136



More information about the llvm-commits mailing list