[PATCH] D153057: [RISCV] Introduce RISCVISD::VWMACC(U/SU)_VL opcode

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 15 14:22:26 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:11964
+
+  unsigned Opc = RISCVISD::VWMACC_VL + MulOp.getOpcode() - RISCVISD::VWMUL_VL;
+  SDLoc DL(N);
----------------
Please add static_asserts to verify this is safe.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153057



More information about the llvm-commits mailing list