[Mlir-commits] [mlir] [mlir][sparse] implement sparse space collapse pass. (PR #89003)

Ingo Müller llvmlistbot at llvm.org
Fri May 10 08:22:23 PDT 2024


================
@@ -463,4 +463,20 @@ def SparsificationAndBufferization : Pass<"sparsification-and-bufferization", "M
   ];
 }
 
+//===----------------------------------------------------------------------===//
+// Sparse Iteration Transform Passes
+//===----------------------------------------------------------------------===//
+
+def SparseSpaceCollapse : Pass<"sparse-space-collapse", "func::FuncOp"> {
+  let summary = "(experimental) sparse space collpasing pass";
+  let description = [{
+     This pass collapse consecutive sparse spaces (extracted from the same tensor)
----------------
ingomueller-net wrote:

```suggestion
     This pass collapses consecutive sparse spaces (extracted from the same tensor)
```

https://github.com/llvm/llvm-project/pull/89003


More information about the Mlir-commits mailing list