[Mlir-commits] [mlir] [mlir][docs] Fix broken docs (PR #82308)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Feb 19 22:43:31 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Kohei Yamaguchi (sott0n)

<details>
<summary>Changes</summary>

- Fixed OpenACC's spec link format
- Add missed `OpenACCPasses.md` into Passes.md
- Add missed `MyExtensionCh4.md` into Ch4.md of tutorial of transform

---
Full diff: https://github.com/llvm/llvm-project/pull/82308.diff


3 Files Affected:

- (modified) mlir/docs/Dialects/OpenACCDialect.md (+3-2) 
- (modified) mlir/docs/Passes.md (+4) 
- (modified) mlir/docs/Tutorials/transform/Ch4.md (+4) 


``````````diff
diff --git a/mlir/docs/Dialects/OpenACCDialect.md b/mlir/docs/Dialects/OpenACCDialect.md
index ce0f1c3bbbba82..2f1bb194a167d4 100755
--- a/mlir/docs/Dialects/OpenACCDialect.md
+++ b/mlir/docs/Dialects/OpenACCDialect.md
@@ -9,8 +9,8 @@ by giving the compiler the freedom of how to parallelize for specific
 architectures. OpenACC also provides the ability to optimize the
 parallelism through increasingly more prescriptive clauses.
 
-This dialect models the constructs from the [OpenACC 3.3 specification]
-(https://www.openacc.org/sites/default/files/inline-images/Specification/OpenACC-3.3-final.pdf)
+This dialect models the constructs from the 
+[OpenACC 3.3 specification](https://www.openacc.org/sites/default/files/inline-images/Specification/OpenACC-3.3-final.pdf)
 
 This document describes the design of the OpenACC dialect in MLIR. It
 lists and explains design goals and design choices along with their
@@ -451,3 +451,4 @@ dominates another.
 ## Operations TOC
 
 [include "Dialects/OpenACCDialectOps.md"]
+
diff --git a/mlir/docs/Passes.md b/mlir/docs/Passes.md
index ee7d47cc022723..84e6664436d7b3 100644
--- a/mlir/docs/Passes.md
+++ b/mlir/docs/Passes.md
@@ -16,6 +16,10 @@ This document describes the available MLIR passes and their contracts.
 
 [include "ConversionPasses.md"]
 
+## 'acc' Dialect Passes
+
+[include "OpenACCPasses.md"]
+
 ## 'affine' Dialect Passes
 
 [include "AffinePasses.md"]
diff --git a/mlir/docs/Tutorials/transform/Ch4.md b/mlir/docs/Tutorials/transform/Ch4.md
index ad5221c6f6ccaf..c3159eb991d1e9 100644
--- a/mlir/docs/Tutorials/transform/Ch4.md
+++ b/mlir/docs/Tutorials/transform/Ch4.md
@@ -579,3 +579,7 @@ accessed dimensions as other parameters that can be compared with each other to
 ensure the subscripts are `m,k` for LHS, `k,n` for RHS and `m,n` for the
 init/result given the `m,n,k` notation for loops.
 
+## Appendix: Autogenerated Documentation
+
+[include "Tutorials/transform/MyExtensionCh4.md"]
+

``````````

</details>


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


More information about the Mlir-commits mailing list