[Mlir-commits] [mlir] [mlir][transform] Emit error message with `emitSilenceableFailure` (PR #86146)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Thu Mar 21 09:20:53 PDT 2024


================
@@ -0,0 +1,16 @@
+// RUN: mlir-opt %s -transform-interpreter -split-input-file -verify-diagnostics
+
+func.func @non_elementwise(%arg0: memref<2x3xf32>, %arg1: memref<3x4xf32>, %arg2: memref<2x4xf32>) {
+  // expected-error @+1 {{only elementwise flattening is supported}}
----------------
ftynse wrote:

Nit: prefer `@below` 

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


More information about the Mlir-commits mailing list