[Mlir-commits] [mlir] [mlir][linalg] Skip rank reduction for unsigned-cast contractions (PR #225993)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Sep 27 09:21:48 PDT 2026
================
@@ -175,6 +175,99 @@ func.func @batch_matmul_to_vecmat(%arg0: memref<1x1x?xf32>, %arg1: memref<1x?x?x
// -----
+// linalg.vecmat has no cast attribute (it always uses signed casts), so a
+// matmul with an unsigned cast must not be rank-reduced into it.
----------------
speryt wrote:
PR updated.
I'll think about moving forward regarding issue/RFC
https://github.com/llvm/llvm-project/pull/225993
More information about the Mlir-commits
mailing list