llvm/llvm-project

[mlir] Auto generate docs for dialect op interfaces

Open

#104.593 aperta il 16 ago 2024

Vedi su GitHub
 (9 commenti) (0 reazioni) (1 assegnatario)C++ (10.782 fork)batch import
good first issuemlir:core

Metriche repository

Star
 (26.378 star)
Metriche merge PR
 (Merge medio 1g 2h) (1000 PR mergiate in 30 g)

Descrizione

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.

Guida contributor