[llvm] [RISCV] Initial codegen support for zvqdotq extension (PR #137039)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Thu May 8 04:17:13 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:

Shouldn't this return true for the added nodes?

https://github.com/llvm/llvm-project/pull/137039


More information about the llvm-commits mailing list