[clang] [llvm] [SPIRV] Add support for the `SPV_EXT_long_vector` extension (PR #210279)

Dmitry Sidorov via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 10:07:01 PDT 2026


================
@@ -3287,9 +3302,10 @@ bool SPIRVInstructionSelector::selectFloatDot(Register ResVReg,
   [[maybe_unused]] SPIRVTypeInst VecType =
       GR.getSPIRVTypeForVReg(I.getOperand(2).getReg());
 
-  assert(VecType->getOpcode() == SPIRV::OpTypeVector &&
-         GR.getScalarOrVectorComponentCount(VecType) > 1 &&
-         "dot product requires a vector of at least 2 components");
+  assert((VecType->getOpcode() == SPIRV::OpTypeVector &&
----------------
MrSidims wrote:

I believe we still have the same issue with [the swallowed message](https://github.com/llvm/llvm-project/pull/210279#discussion_r3606949819).

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


More information about the llvm-commits mailing list