llvm/llvm-project

[mlir] Auto generate docs for dialect op interfaces

Open

#104,593 创建于 2024年8月16日

在 GitHub 查看
 (9 评论) (0 反应) (1 负责人)C++ (10,782 fork)batch import
good first issuemlir:core

仓库指标

Star
 (26,378 star)
PR 合并指标
 (平均合并 1天 2小时) (30 天内合并 1,000 个 PR)

描述

MLIR tblgen support auto generating attr/type/op/enum docs, and a dialect doc that contains them all. This is done in OpDocGen.cpp. However, it doesn't support generating docs for op interfaces (generated via -gen-op-interface-*).

It would be great to add support for that, such that the generated doc will show the following info for each op-interafce - summary, description, base interfaces, and methods.

贡献者指南