[Mlir-commits] [mlir] 0edb262 - [mlir] enable doc generation for the transform dialect
Alex Zinenko
llvmlistbot at llvm.org
Thu Apr 21 09:52:40 PDT 2022
Author: Alex Zinenko
Date: 2022-04-21T18:52:08+02:00
New Revision: 0edb262d914a67b7d3284b013141cc8d5bf77bc6
URL: https://github.com/llvm/llvm-project/commit/0edb262d914a67b7d3284b013141cc8d5bf77bc6
DIFF: https://github.com/llvm/llvm-project/commit/0edb262d914a67b7d3284b013141cc8d5bf77bc6.diff
LOG: [mlir] enable doc generation for the transform dialect
Added:
mlir/docs/Dialects/Transform.md
Modified:
mlir/include/mlir/Dialect/Transform/IR/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/docs/Dialects/Transform.md b/mlir/docs/Dialects/Transform.md
new file mode 100644
index 0000000000000..cd996195ad70f
--- /dev/null
+++ b/mlir/docs/Dialects/Transform.md
@@ -0,0 +1,4 @@
+[TOC]
+
+[include "Dialects/TransformOps.md"]
+[include "Dialects/TransformOpInterfaces.md"]
diff --git a/mlir/include/mlir/Dialect/Transform/IR/CMakeLists.txt b/mlir/include/mlir/Dialect/Transform/IR/CMakeLists.txt
index d2d98c183f315..be6cf1fc59fb9 100644
--- a/mlir/include/mlir/Dialect/Transform/IR/CMakeLists.txt
+++ b/mlir/include/mlir/Dialect/Transform/IR/CMakeLists.txt
@@ -9,5 +9,7 @@ add_public_tablegen_target(MLIRTransformDialectIncGen)
add_dependencies(mlir-headers MLIRTransformDialectIncGen)
add_mlir_dialect(TransformOps transform)
+add_mlir_doc(TransformOps TransformOps Dialects/ -gen-dialect-doc -dialect=transform)
add_mlir_interface(TransformInterfaces)
+add_mlir_doc(TransformInterfaces TransformOpInterfaces Dialects/ -gen-op-interface-docs)
More information about the Mlir-commits
mailing list