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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Nov 17 09:40:36 PST 2023


Author: Aart Bik
Date: 2023-11-17T09:40:32-08:00
New Revision: 6b56dd6a9362a7060565d3ba9ba67702773ad22d

URL: https://github.com/llvm/llvm-project/commit/6b56dd6a9362a7060565d3ba9ba67702773ad22d
DIFF: https://github.com/llvm/llvm-project/commit/6b56dd6a9362a7060565d3ba9ba67702773ad22d.diff

LOG: [mlir][sparse] enable 2:4 test for both directIR/libgen path (#72593)

Added: 
    

Modified: 
    mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_ds.mlir

Removed: 
    


################################################################################
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