llvm/llvm-project

[mlir] Auto generate docs for dialect op interfaces

Open

#104.593 aberto em 16 de ago. de 2024

Ver no GitHub
 (9 comments) (0 reactions) (1 assignee)C++ (10.782 forks)batch import
good first issuemlir:core

Métricas do repositório

Stars
 (26.378 stars)
Métricas de merge de PR
 (Mesclagem média 1d 2h) (1.000 fundiu PRs em 30d)

Description

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.

Guia do colaborador