[Mlir-commits] [mlir] 4921ff5 - [mlir][doc] Fix broken docs

Alex Zinenko llvmlistbot at llvm.org
Wed Jun 28 01:34:57 PDT 2023


Author: Kohei Yamaguchi
Date: 2023-06-28T08:34:50Z
New Revision: 4921ff5b924c5ba669dccbc04969f2b267965479

URL: https://github.com/llvm/llvm-project/commit/4921ff5b924c5ba669dccbc04969f2b267965479
DIFF: https://github.com/llvm/llvm-project/commit/4921ff5b924c5ba669dccbc04969f2b267965479.diff

LOG: [mlir][doc] Fix broken docs

- Fix include paths for Transform Dialect Tutorial
- Add math dialect's pass into Pass.md
- Remove a include path of Quant dialect from Pass.md

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D153944

Added: 
    

Modified: 
    mlir/docs/Passes.md
    mlir/docs/Tutorials/transform/Ch2.md
    mlir/docs/Tutorials/transform/Ch3.md

Removed: 
    


################################################################################
diff  --git a/mlir/docs/Passes.md b/mlir/docs/Passes.md
index 2485840480f51..1e2a2b1d20ebc 100644
--- a/mlir/docs/Passes.md
+++ b/mlir/docs/Passes.md
@@ -52,6 +52,10 @@ This document describes the available MLIR passes and their contracts.
 
 [include "LLVMPasses.md"]
 
+## 'math' Dialect Passes
+
+[include "MathPasses.md"]
+
 ## 'memref' Dialect Passes
 
 [include "MemRefPasses.md"]
@@ -60,10 +64,6 @@ This document describes the available MLIR passes and their contracts.
 
 [include "NVGPUPasses.md"]
 
-## 'quant' Dialect Passes
-
-[include "QuantPasses.md"]
-
 ## Reducer Passes
 
 [include "ReducerPasses.md"]

diff  --git a/mlir/docs/Tutorials/transform/Ch2.md b/mlir/docs/Tutorials/transform/Ch2.md
index 04f79bf62a723..310d2ae923f09 100644
--- a/mlir/docs/Tutorials/transform/Ch2.md
+++ b/mlir/docs/Tutorials/transform/Ch2.md
@@ -335,4 +335,4 @@ transform.sequence failures(propagate) {
 
 ## Appendix: Autogenerated Documentation
 
-[include "MyExtensionCh2.md"]
+[include "Tutorials/transform/MyExtensionCh2.md"]

diff  --git a/mlir/docs/Tutorials/transform/Ch3.md b/mlir/docs/Tutorials/transform/Ch3.md
index bf533c27be8cd..1a4d787d98164 100644
--- a/mlir/docs/Tutorials/transform/Ch3.md
+++ b/mlir/docs/Tutorials/transform/Ch3.md
@@ -287,5 +287,5 @@ def CallToOp : Op<Transform_Dialect, "my.call_to_op",
 
 ## Appendix: Autogenerated Documentation
 
-[include "MyExtensionCh3.md"]
+[include "Tutorials/transform/MyExtensionCh3.md"]
 


        


More information about the Mlir-commits mailing list