[Mlir-commits] [mlir] [mlir][SVE] Add e2e for 1D depthwise WC convolution (PR #85225)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Sat Mar 23 10:33:16 PDT 2024
================
@@ -0,0 +1,60 @@
+// DEFINE: %{compile} = mlir-opt %s \
+// DEFINE: -transform-interpreter -test-transform-dialect-erase-schedule \
+// DEFINE: -one-shot-bufferize="bufferize-function-boundaries" -lower-vector-mask -cse -canonicalize -convert-vector-to-scf -arm-sve-legalize-vector-storage \
+// DEFINE: -convert-vector-to-llvm="enable-arm-sve" -test-lower-to-llvm -o %t
+// DEFINE: %{entry_point} = conv
+// DEFINE: %{run} = %mcr_aarch64_cmd %t -e %{entry_point} -entry-point-result=void --march=aarch64 --mattr="+sve"\
+// DEFINE: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils
+
+// RUN: %{compile} | %{run} | FileCheck %s
----------------
banach-space wrote:
Thanks, good catch!
Yeah, the `RUN` should be something like this: `// RUN: rm -f %t && %{compile} && %{run} | FileCheck %s` instead. However, the current `RUN` line, when fails, produces:
```
# .---command stderr------------
# | cannot open input file '/llvm-project/build/release_vls/tools/mlir/test/Integration/Dialect/Linalg/CPU/ArmSVE/Output/1d-depthwise-conv.mlir.tmp': No such file or directory
# | could not parse the input IR
# `-----------------------------
```
rather than (from https://lab.llvm.org/buildbot/#/builders/176/builds/9331):
```
# .---command stderr------------
# | Error: entry point not found
# `-----------------------------
```
https://github.com/llvm/llvm-project/pull/85225
More information about the Mlir-commits
mailing list