[Mlir-commits] [mlir] [mlir][sve] Add an e2e for linalg.matmul with mixed types (PR #73773)

Diego Caballero llvmlistbot at llvm.org
Wed Nov 29 03:53:50 PST 2023


================
@@ -455,7 +455,7 @@ struct ReorderCastOpsOnBroadcast
 
     Type castResTy = getElementTypeOrSelf(op->getResult(0));
     if (auto vecTy = dyn_cast<VectorType>(bcastOp.getSourceType()))
-      castResTy = VectorType::get(vecTy.getShape(), castResTy);
+      castResTy = vecTy.clone(castResTy);
----------------
dcaballe wrote:

We should think about a long term solution for this beyond these fixes.

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


More information about the Mlir-commits mailing list