Skip to content

Commit a229c16

Browse files
committed
[mlir][sparse] Make some integration tests run with vectorization.
Reviewed By: Peiming Differential Revision: https://reviews.llvm.org/D139887
1 parent 3a8c6a3 commit a229c16

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+293
-65
lines changed

mlir/test/Integration/Dialect/SparseTensor/CPU/dense_output.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
// Do the same run, but now with direct IR generation.
1212
// REDEFINE: %{option} = enable-runtime-library=false
1313
// RUN: %{command}
14+
//
15+
// Do the same run, but now with direct IR generation and vectorization.
16+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
17+
// RUN: %{command}
1418

1519
!Filename = !llvm.ptr<i8>
1620

mlir/test/Integration/Dialect/SparseTensor/CPU/dense_output_bf16.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = enable-runtime-library=false
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
// UNSUPPORTED: aarch64
1519

mlir/test/Integration/Dialect/SparseTensor/CPU/dense_output_f16.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = enable-runtime-library=false
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
#SparseVector = #sparse_tensor.encoding<{dimLevelType = ["compressed"]}>
1519
#DenseVector = #sparse_tensor.encoding<{dimLevelType = ["dense"]}>

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_abs.mlir

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = enable-runtime-library=false
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
17+
1318
#SparseVector = #sparse_tensor.encoding<{ dimLevelType = [ "compressed" ] }>
1419

1520
#trait_op = {

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_cast.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = enable-runtime-library=false
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
#SV = #sparse_tensor.encoding<{ dimLevelType = [ "compressed" ] }>
1519

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_codegen_dim.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = enable-runtime-library=false
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
#DCSR = #sparse_tensor.encoding<{
1519
dimLevelType = [ "compressed", "compressed"]

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_codegen_foreach.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = enable-runtime-library=false
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
#Row = #sparse_tensor.encoding<{
1519
dimLevelType = [ "compressed", "dense" ]

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_complex32.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true"
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
#SparseVector = #sparse_tensor.encoding<{dimLevelType = ["compressed"]}>
1519

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_complex64.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = enable-runtime-library=false
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
#SparseVector = #sparse_tensor.encoding<{dimLevelType = ["compressed"]}>
1519

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_complex_ops.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = enable-runtime-library=false
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
#SparseVector = #sparse_tensor.encoding<{dimLevelType = ["compressed"]}>
1519

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_constant_to_sparse_tensor.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true"
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
#Tensor1 = #sparse_tensor.encoding<{
1519
dimLevelType = [ "compressed", "compressed"]

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_1d_nwc_wcf.mlir

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1-
// RUN: mlir-opt %s --sparse-compiler=enable-runtime-library=true | \
2-
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
3-
// RUN: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
4-
// RUN: FileCheck %s
5-
6-
// RUN: mlir-opt %s --sparse-compiler="enable-runtime-library=false enable-buffer-initialization=true" | \
7-
// RUN: mlir-cpu-runner \
8-
// RUN: -e entry -entry-point-result=void \
9-
// RUN: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
10-
// RUN: FileCheck %s
1+
// DEFINE: %{option} = enable-runtime-library=true
2+
// DEFINE: %{command} = mlir-opt %s --sparse-compiler=%{option} | \
3+
// DEFINE: mlir-cpu-runner \
4+
// DEFINE: -e entry -entry-point-result=void \
5+
// DEFINE: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
6+
// DEFINE: FileCheck %s
7+
//
8+
// RUN: %{command}
9+
//
10+
// Do the same run, but now with direct IR generation.
11+
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true"
12+
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1117

1218
#CCC = #sparse_tensor.encoding<{
1319
dimLevelType = [ "compressed", "compressed", "compressed" ] }>

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d_nhwc_hwcf.mlir

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1-
// RUN: mlir-opt %s --sparse-compiler=enable-runtime-library=true | \
2-
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
3-
// RUN: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
4-
// RUN: FileCheck %s
5-
6-
// RUN: mlir-opt %s --sparse-compiler="enable-runtime-library=false enable-buffer-initialization=true" | \
7-
// RUN: mlir-cpu-runner \
8-
// RUN: -e entry -entry-point-result=void \
9-
// RUN: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
10-
// RUN: FileCheck %s
1+
// DEFINE: %{option} = enable-runtime-library=true
2+
// DEFINE: %{command} = mlir-opt %s --sparse-compiler=%{option} | \
3+
// DEFINE: mlir-cpu-runner \
4+
// DEFINE: -e entry -entry-point-result=void \
5+
// DEFINE: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
6+
// DEFINE: FileCheck %s
7+
//
8+
// RUN: %{command}
9+
//
10+
// Do the same run, but now with direct IR generation.
11+
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true"
12+
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1117

1218
#CCCC = #sparse_tensor.encoding<{
1319
dimLevelType = [ "compressed", "compressed", "compressed", "compressed" ]

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d.mlir

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1-
// RUN: mlir-opt %s --sparse-compiler=enable-runtime-library=true | \
2-
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
3-
// RUN: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
4-
// RUN: FileCheck %s
5-
6-
// RUN: mlir-opt %s --sparse-compiler="enable-runtime-library=false enable-buffer-initialization=true" | \
7-
// RUN: mlir-cpu-runner \
8-
// RUN: -e entry -entry-point-result=void \
9-
// RUN: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
10-
// RUN: FileCheck %s
1+
// DEFINE: %{option} = enable-runtime-library=true
2+
// DEFINE: %{command} = mlir-opt %s --sparse-compiler=%{option} | \
3+
// DEFINE: mlir-cpu-runner \
4+
// DEFINE: -e entry -entry-point-result=void \
5+
// DEFINE: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
6+
// DEFINE: FileCheck %s
7+
//
8+
// RUN: %{command}
9+
//
10+
// Do the same run, but now with direct IR generation.
11+
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true"
12+
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1117

1218
#CCC = #sparse_tensor.encoding<{
1319
dimLevelType = [ "compressed", "compressed", "compressed" ]

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d_ndhwc_dhwcf.mlir

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1-
// RUN: mlir-opt %s --sparse-compiler=enable-runtime-library=true | \
2-
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
3-
// RUN: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
4-
// RUN: FileCheck %s
5-
6-
// RUN: mlir-opt %s --sparse-compiler="enable-runtime-library=false enable-buffer-initialization=true" | \
7-
// RUN: mlir-cpu-runner \
8-
// RUN: -e entry -entry-point-result=void \
9-
// RUN: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
10-
// RUN: FileCheck %s
1+
// DEFINE: %{option} = enable-runtime-library=true
2+
// DEFINE: %{command} = mlir-opt %s --sparse-compiler=%{option} | \
3+
// DEFINE: mlir-cpu-runner \
4+
// DEFINE: -e entry -entry-point-result=void \
5+
// DEFINE: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
6+
// DEFINE: FileCheck %s
7+
//
8+
// RUN: %{command}
9+
//
10+
// Do the same run, but now with direct IR generation.
11+
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true"
12+
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1117

1218
#CCCCC = #sparse_tensor.encoding<{
1319
dimLevelType = [ "compressed", "compressed", "compressed", "compressed", "compressed" ]

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true"
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
#Tensor1 = #sparse_tensor.encoding<{
1519
dimLevelType = [ "compressed", "compressed", "compressed" ],

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_dyn.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true"
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
#DCSR = #sparse_tensor.encoding<{
1519
dimLevelType = [ "compressed", "compressed" ]

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_ptr.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true"
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
#DCSR = #sparse_tensor.encoding<{
1519
dimLevelType = [ "compressed", "compressed" ],

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_dot.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = enable-runtime-library=false
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
#SparseVector = #sparse_tensor.encoding<{ dimLevelType = [ "compressed" ] }>
1519

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_file_io.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
// Do the same run, but now with direct IR generation.
1313
// REDEFINE: %{option} = enable-runtime-library=false
1414
// RUN: %{command}
15+
//
16+
// Do the same run, but now with direct IR generation and vectorization.
17+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
18+
// RUN: %{command}
1519

1620
!Filename = !llvm.ptr<i8>
1721
!TensorReader = !llvm.ptr<i8>

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_filter_conv2d.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = enable-runtime-library=false
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
#DCSR = #sparse_tensor.encoding<{ dimLevelType = [ "compressed", "compressed" ] }>
1519

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_flatten.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
// Do the same run, but now with direct IR generation.
1212
// REDEFINE: %{option} = enable-runtime-library=false
1313
// RUN: %{command}
14+
//
15+
// Do the same run, but now with direct IR generation and vectorization.
16+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
17+
// RUN: %{command}
1418

1519
!Filename = !llvm.ptr<i8>
1620

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_index.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = enable-runtime-library=false
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
#SparseVector = #sparse_tensor.encoding<{
1519
dimLevelType = ["compressed"]

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_index_dense.mlir

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// Do the same run, but now with direct IR generation.
1111
// REDEFINE: %{option} = enable-runtime-library=false
1212
// RUN: %{command}
13+
//
14+
// Do the same run, but now with direct IR generation and vectorization.
15+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
16+
// RUN: %{command}
1317

1418
#SparseVector = #sparse_tensor.encoding<{
1519
dimLevelType = ["compressed"]

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_1d.mlir

+12-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1-
// RUN: mlir-opt %s --sparse-compiler=enable-runtime-library=false | \
2-
// RUN: mlir-cpu-runner \
3-
// RUN: -e entry -entry-point-result=void \
4-
// RUN: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
5-
// RUN: FileCheck %s
1+
// DEFINE: %{option} = enable-runtime-library=false
2+
// DEFINE: %{command} = mlir-opt %s --sparse-compiler=%{option} | \
3+
// DEFINE: mlir-cpu-runner \
4+
// DEFINE: -e entry -entry-point-result=void \
5+
// DEFINE: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
6+
// DEFINE: FileCheck %s
7+
//
8+
// RUN: %{command}
9+
//
10+
// Do the same run, but now with vectorization.
11+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
12+
// RUN: %{command}
613

714
// Insertion example using pure codegen (no sparse runtime support lib).
815

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_2d.mlir

+12-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1-
// RUN: mlir-opt %s --sparse-compiler=enable-runtime-library=false | \
2-
// RUN: mlir-cpu-runner \
3-
// RUN: -e entry -entry-point-result=void \
4-
// RUN: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
5-
// RUN: FileCheck %s
1+
// DEFINE: %{option} = enable-runtime-library=false
2+
// DEFINE: %{command} = mlir-opt %s --sparse-compiler=%{option} | \
3+
// DEFINE: mlir-cpu-runner \
4+
// DEFINE: -e entry -entry-point-result=void \
5+
// DEFINE: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext | \
6+
// DEFINE: FileCheck %s
7+
//
8+
// RUN: %{command}
9+
//
10+
// Do the same run, but now with vectorization.
11+
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
12+
// RUN: %{command}
613

714
#Dense = #sparse_tensor.encoding<{
815
dimLevelType = ["dense", "dense"]

0 commit comments

Comments
 (0)