[Mlir-commits] [mlir] [MLIR][ArmSVE] Add initial lowering of vector.contract to SVE `*MMLA` instructions (PR #135636)

Momchil Velikov llvmlistbot at llvm.org
Wed Jun 4 06:46:51 PDT 2025


================
@@ -56,6 +56,10 @@ class LowerContractionToSMMLAPattern
     // Avoid 0-D vectors and 1-D rhs:
     if (!lhsType.hasRank() || !rhsType.hasRank() || rhsType.getRank() < 2)
       return failure();
+    // This codegen does not work for scalable vectors. Return failure so this
+    // pattern not accidentally chosen over patterns that lower to ArmSVE.
----------------
momchil-velikov wrote:

Done.

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


More information about the Mlir-commits mailing list