diff --git a/mlir/docs/Passes.md b/mlir/docs/Passes.md --- a/mlir/docs/Passes.md +++ b/mlir/docs/Passes.md @@ -48,6 +48,10 @@ [include "MemRefPasses.md"] +## 'nvgpu' Dialect Passes + +[include "NVGPUPasses.md"] + ## 'quant' Dialect Passes [include "QuantPasses.md"] @@ -84,10 +88,6 @@ [include "VectorPasses.md"] -## 'nvgpu' Dialect Passes - -[include "NVGPUPasses.md"] - ## TOSA Dialect Passes [include "TosaPasses.md"] diff --git a/mlir/include/mlir/Conversion/Passes.td b/mlir/include/mlir/Conversion/Passes.td --- a/mlir/include/mlir/Conversion/Passes.td +++ b/mlir/include/mlir/Conversion/Passes.td @@ -566,7 +566,7 @@ def FinalizeMemRefToLLVMConversionPass : Pass<"finalize-memref-to-llvm", "ModuleOp"> { - let summary = "Convert MemRef dialect to LLVM dialect"; + let summary = "Finalize MemRef dialect to LLVM dialect conversion"; let description = [{ Finalize the conversion of the operations from the MemRef dialect to the LLVM dialect. diff --git a/mlir/include/mlir/Dialect/MemRef/Transforms/Passes.td b/mlir/include/mlir/Dialect/MemRef/Transforms/Passes.td --- a/mlir/include/mlir/Dialect/MemRef/Transforms/Passes.td +++ b/mlir/include/mlir/Dialect/MemRef/Transforms/Passes.td @@ -48,7 +48,7 @@ let summary = "Normalize memrefs"; let description = [{ This pass transforms memref types with a non-trivial - [layout map](https://mlir.llvm.org/docs/Rationale/Rationale/#data-layout-of-non-primitive-types) + [layout map](https://mlir.llvm.org/docs/Dialects/Builtin/#affine-map-layout) into memref types with an identity layout map, e.g. (i, j) -> (i, j). This pass is inter-procedural, in the sense that it can modify function interfaces and call sites that pass memref types. In order to modify