[llvm] [RISCV] Initial codegen support for zvqdotq extension (PR #137039)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Thu May 8 14:35:45 PDT 2025
================
@@ -6971,7 +6971,7 @@ static bool hasPassthruOp(unsigned Opcode) {
Opcode <= RISCVISD::LAST_STRICTFP_OPCODE &&
"not a RISC-V target specific op");
static_assert(
- RISCVISD::LAST_VL_VECTOR_OP - RISCVISD::FIRST_VL_VECTOR_OP == 134 &&
+ RISCVISD::LAST_VL_VECTOR_OP - RISCVISD::FIRST_VL_VECTOR_OP == 139 &&
RISCVISD::LAST_STRICTFP_OPCODE - RISCVISD::FIRST_STRICTFP_OPCODE == 21 &&
"adding target specific op should update this function");
if (Opcode >= RISCVISD::ADD_VL && Opcode <= RISCVISD::VFMAX_VL)
----------------
s-barannikov wrote:
> Honestly, the code structure of these routines could use some cleanup
Those will be removed by #138381. Just wanted to make sure the `HasPassthruOp` flag should be set on those nodes.
CC @lenary
https://github.com/llvm/llvm-project/pull/137039
More information about the llvm-commits
mailing list