[Mlir-commits] [mlir] [mlir][spirv] Add definition for VectorTimesMatrixOp (PR #124571)

Jakub Kuderski llvmlistbot at llvm.org
Tue Jan 28 08:43:57 PST 2025


================
@@ -198,4 +197,53 @@ def SPIRV_TransposeOp : SPIRV_Op<"Transpose", [Pure]> {
 
 // -----
 
+def SPIRV_VectorTimesMatrixOp : SPIRV_Op<"VectorTimesMatrix", [
+    Pure,
+    AllElementTypesMatch<["vector", "result"]>
----------------
kuhar wrote:

Could you also update `MatrixTimesVector` above to use the same type constraints?

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


More information about the Mlir-commits mailing list