[Mlir-commits] [mlir] fix IRDL dialect docs (PR #92349)
Jeremy Kun
llvmlistbot at llvm.org
Wed May 15 22:07:18 PDT 2024
https://github.com/j2kun created https://github.com/llvm/llvm-project/pull/92349
Currently the irdl dialect page has no content beyond the header.
By referring to the Ops.td in the CMake config, it pulls in all the types, attributes, etc., so that the doc generation can include them all in the page.
Rendered locally to confirm it fixes the issue
![image](https://github.com/llvm/llvm-project/assets/2467754/8758f324-6bc3-4f0e-8fa9-8962cdb0177f)
>From 098d703fd475dd6e38022d71220fa376c3cead91 Mon Sep 17 00:00:00 2001
From: Jeremy Kun <j2kun at users.noreply.github.com>
Date: Wed, 15 May 2024 22:05:14 -0700
Subject: [PATCH] fix IRDL dialect docs
---
mlir/include/mlir/Dialect/IRDL/IR/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mlir/include/mlir/Dialect/IRDL/IR/CMakeLists.txt b/mlir/include/mlir/Dialect/IRDL/IR/CMakeLists.txt
index e255fc632110f..ec3e06bedae03 100644
--- a/mlir/include/mlir/Dialect/IRDL/IR/CMakeLists.txt
+++ b/mlir/include/mlir/Dialect/IRDL/IR/CMakeLists.txt
@@ -1,5 +1,5 @@
add_mlir_dialect(IRDL irdl)
-add_mlir_doc(IRDL IRDL Dialects/ -gen-dialect-doc)
+add_mlir_doc(IRDLOps IRDL Dialects/ -gen-dialect-doc)
# Add IRDL interfaces
set(LLVM_TARGET_DEFINITIONS IRDLInterfaces.td)
More information about the Mlir-commits
mailing list