[Mlir-commits] [mlir] [mlir][ArmSME] Support 4-way widening outer products (PR #79288)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Tue Feb 6 08:38:00 PST 2024
================
@@ -31,6 +31,65 @@ using namespace mlir;
using namespace mlir::arm_sme;
namespace {
+
+// Common match failure reasons.
+static constexpr StringLiteral
+ matchFailureNoAccumulator("no accumulator operand");
+static constexpr StringLiteral matchFailureExpectedOuterProductDefOp(
+ "defining op of accumulator must be 'arm_sme.outerproduct'");
+static constexpr StringLiteral matchFailureInconsistentCombiningKind(
+ "combining kind (add or sub) of outer products must match");
+static constexpr StringLiteral matchFailureInconsistentMasking(
+ "unsupported masking, either both outerproducts are masked "
+ "or neither");
+static constexpr StringLiteral matchFailureOuterProductNotSingleUse(
+ "outer product(s) not single use and cannot be removed, no benefit to "
----------------
banach-space wrote:
+1
https://github.com/llvm/llvm-project/pull/79288
More information about the Mlir-commits
mailing list