[Mlir-commits] [mlir] [mlir][linalg] Extend elementwise (PR #124661)
Javed Absar
llvmlistbot at llvm.org
Sat Feb 1 13:39:00 PST 2025
================
@@ -0,0 +1,54 @@
+// RUN: mlir-opt %s -split-input-file -verify-diagnostics
+func.func @misspelt_op_div(%A : memref<16x8xf32>, %B: memref<16x8xf32>, %C: memref<16x8xf32>) {
+ // expected-error at +3 {{expected ::mlir::linalg::ElementwiseFn to be one of: exp, log, abs, ceil, floor}}
----------------
javedabsar1 wrote:
It will list all the elemwise (13 unary, ~9 binary...). Just this test is keeping the checking short.
Yes 'dive' looks a lot like binary div to our eyes. But error listing will list all potential elemwise.
https://github.com/llvm/llvm-project/pull/124661
More information about the Mlir-commits
mailing list