[Mlir-commits] [mlir] 0c13a89 - [mlir][docs] Fix broken docs (#82308)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Feb 21 01:11:25 PST 2024
Author: Kohei Yamaguchi
Date: 2024-02-21T10:11:22+01:00
New Revision: 0c13a896dfc930a09e082ad83070e223cfd9a4f9
URL: https://github.com/llvm/llvm-project/commit/0c13a896dfc930a09e082ad83070e223cfd9a4f9
DIFF: https://github.com/llvm/llvm-project/commit/0c13a896dfc930a09e082ad83070e223cfd9a4f9.diff
LOG: [mlir][docs] Fix broken docs (#82308)
- Fixed OpenACC's spec link format
- Add missed `OpenACCPasses.md` into Passes.md
- Add missed `MyExtensionCh4.md` into Ch4.md of tutorial of transform
Added:
Modified:
mlir/docs/Dialects/OpenACCDialect.md
mlir/docs/Passes.md
mlir/docs/Tutorials/transform/Ch4.md
Removed:
################################################################################
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"]
+
More information about the Mlir-commits
mailing list