[Mlir-commits] [mlir] [mlir][SPIR-V] Make Stride optional in KHR CooperativeMatrixLoad/Store per spec (PR #214194)
Igor Wodiany
llvmlistbot at llvm.org
Thu Oct 1 02:35:04 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;
----------------
IgWod wrote:
Could we extend autogen to handle this case? It may be less code than writing full new (de)serialisation code for the op.
https://github.com/llvm/llvm-project/pull/214194
More information about the Mlir-commits
mailing list