[Mlir-commits] [mlir] [mlir][SPIR-V] Make Stride optional in KHR CooperativeMatrixLoad/Store per spec (PR #214194)

Arseniy Obolenskiy llvmlistbot at llvm.org
Thu Oct 1 03:17:18 PDT 2026


================
@@ -209,12 +208,17 @@ def SPIRV_KHRCooperativeMatrixStoreOp : SPIRV_KhrVendorOp<"CooperativeMatrixStor
     Capability<[SPIRV_C_CooperativeMatrixKHR]>
   ];
 
+  // The auto-generated (de)serialization cannot handle an optional operand
+  // (stride) followed by a mandatory attribute (matrix_layout), so it is
+  // hand-written. See Serializer/Deserializer::processOp<KHRCooperativeMatrixStoreOp>.
+  let autogenSerialization = 0;
----------------
aobolensk wrote:

updated PR description as well

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


More information about the Mlir-commits mailing list