[Mlir-commits] [mlir] [mlir][sparse] enable 2:4 test for both directIR/libgen path (PR #72593)

Aart Bik llvmlistbot at llvm.org
Thu Nov 16 17:22:32 PST 2023


https://github.com/aartbik created https://github.com/llvm/llvm-project/pull/72593

None

>From c256891e0a26398258a9b620eb55f0ccd75a92ec Mon Sep 17 00:00:00 2001
From: Aart Bik <ajcbik at google.com>
Date: Thu, 16 Nov 2023 17:19:25 -0800
Subject: [PATCH] [mlir][sparse] enable 2:4 test for both directIR/libgen path

---
 .../Integration/Dialect/SparseTensor/CPU/sparse_ds.mlir    | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_ds.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_ds.mlir
index 00fb528af0753a7..df5b48a3b6ece86 100644
--- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_ds.mlir
+++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_ds.mlir
@@ -20,10 +20,13 @@
 // REDEFINE: %{env} = TENSOR0="%mlir_src_dir/test/Integration/data/ds.mtx"
 // RUN: %{compile} | env %{env} %{run} | FileCheck %s
 //
-// TODO: enable!
 // Do the same run, but now with direct IR generation.
 // REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
-// R_UN: %{compile} | env %{env} %{run} | FileCheck %s
+// RUN: %{compile} | env %{env} %{run} | FileCheck %s
+//
+// Do the same run, but now with direct IR generation and vectorization.
+// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
+// RUN: %{compile} | env %{env} %{run} | FileCheck %s
 
 !Filename = !llvm.ptr
 



More information about the Mlir-commits mailing list