[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:32:24 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:
If we swapped stride and layout in the assembly format, would that allow us to use autogen (de)serialization?
https://github.com/llvm/llvm-project/pull/214194
More information about the Mlir-commits
mailing list