[Mlir-commits] [mlir] [mlir][test][sve] Add e2e test for linalg.pack + linalg.unpack (PR #129696)
Renato Golin
llvmlistbot at llvm.org
Wed Mar 5 07:31:56 PST 2025
================
@@ -0,0 +1,185 @@
+// DEFINE: %{compile} = mlir-opt %s \
+// DEFINE: -transform-interpreter -test-transform-dialect-erase-schedule \
+// DEFINE: --lower-vector-mask |\
+// DEFINE: mlir-opt -arm-sve-legalize-vector-storage -convert-vector-to-llvm="enable-arm-sve"\
+// DEFINE: -test-lower-to-llvm -o %t
+// DEFINE: %{entry_point} = main
+// DEFINE: %{run} = mlir-cpu-runner %t -e %{entry_point} -entry-point-result=void --march=aarch64 --mattr="+sve"\
+// DEFINE: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils,%native_mlir_arm_runner_utils
+
+// RUN: rm -f %t && %{compile} && %{run} | FileCheck %s
----------------
rengolin wrote:
One practice we have internally in our project is to run with and without optimization (here, tiling and decomposition) and make sure both match the same CHECK lines.
https://github.com/llvm/llvm-project/pull/129696
More information about the Mlir-commits
mailing list