llvm/llvm-project

[mlir] Auto generate docs for dialect op interfaces

Open

#104,593 opened on 2024年8月16日

GitHub で見る
 (9 comments) (0 reactions) (1 assignee)C++ (10,782 forks)batch import
good first issuemlir:core

Repository metrics

Stars
 (26,378 stars)
PR merge metrics
 (平均マージ 1d 2h) (30d で 1,000 merged PRs)

説明

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.

コントリビューターガイド