[Mlir-commits] [mlir] [mlir][sparse] minor edit of map reinterpretation pass doc (PR #70513)

Aart Bik llvmlistbot at llvm.org
Fri Oct 27 14:46:06 PDT 2023


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

Fixed typo, 80-col

>From 447ae9044352dd6ff17ad25bb2c1a33a41f8f9b9 Mon Sep 17 00:00:00 2001
From: Aart Bik <ajcbik at google.com>
Date: Fri, 27 Oct 2023 14:43:07 -0700
Subject: [PATCH] [mlir][sparse] minor edit of map reinterpretation pass doc

Fixed typo, 80-col
---
 .../mlir/Dialect/SparseTensor/Transforms/Passes.td  | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td b/mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
index db9cc701d253c01..99dbd7ab3677e74 100644
--- a/mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
+++ b/mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
@@ -14,12 +14,13 @@ include "mlir/Pass/PassBase.td"
 def SparseReinterpretMap : Pass<"sparse-reinterpret-map", "ModuleOp"> {
   let summary = "Reinterprets sparse tensor type mappings";
   let description = [{
-    A pass that reinterprets the mappings in all sparse tensor types in a way that
-    enables subsequent sparification. This involves expressing all `linalg.generic`
-    operations in terms of level coordinates (rather than the dimension coordinates
-    of the input tensors) to align the iteration space with the potentially remapped
-    level space as well as resolving cycles in the resulting iteration graphs with
-    explicit sparse tensor conversions where needed.
+    A pass that reinterprets the mappings in all sparse tensor types in a
+    way that enables subsequent sparsification. This involves expressing all
+    `linalg.generic` operations in terms of level coordinates (rather than
+    the dimension coordinates of the input tensors) to align the iteration
+    space with the potentially remapped level space as well as resolving cycles
+    in the resulting iteration graphs with explicit sparse tensor conversions
+    where needed.
   }];
   let constructor = "mlir::createSparseReinterpretMapPass()";
   let dependentDialects = [



More information about the Mlir-commits mailing list