[Mlir-commits] [mlir] [mlir][spirv] Add definition for VectorTimesMatrixOp (PR #124571)
Jakub Kuderski
llvmlistbot at llvm.org
Mon Jan 27 07:51:47 PST 2025
================
@@ -1725,6 +1725,34 @@ LogicalResult spirv::MatrixTimesVectorOp::verify() {
return success();
}
+//===----------------------------------------------------------------------===//
+// spirv.VectorTimesMatrix
+//===----------------------------------------------------------------------===//
+
+LogicalResult spirv::VectorTimesMatrixOp::verify() {
+ auto vectorType = llvm::cast<VectorType>(getVector().getType());
+ auto matrixType = llvm::cast<spirv::MatrixType>(getMatrix().getType());
+ auto resultType = llvm::cast<VectorType>(getType());
----------------
kuhar wrote:
These should be moved to `.td` if we can
https://github.com/llvm/llvm-project/pull/124571
More information about the Mlir-commits
mailing list