<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/104593>104593</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[mlir] Auto generate docs for dialect op interfaces
</td>
</tr>
<tr>
<th>Labels</th>
<td>
good first issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tomnatan30
</td>
</tr>
</table>
<pre>
MLIR tblgen support auto generating attr/type/op/enum docs, and a dialect doc that contains them all. This is done in [OpDocGen.cpp](https://github.com/llvm/llvm-project/blob/main/mlir/tools/mlir-tblgen/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.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU82OuzYQfxpzGQUZEwgcOGQb0a7UqlLVFzB4AFfGg-wh0b59ZXazH8f_Bcswmt8nOkY7e8ROVC-iumV654VCx7R6zdqXMhvIvHV__fn6D_DgZvQQ922jwKB3JpjRY9Bs_QyaOQjV89uGQvW0CdWj31cwNEahfgPtDWgwVjscOb0FXjTDSJ619RF4wRW0czn8u9gINoIhj2A9iOrl7-1G4-_o83HbRHUTqlmYtyjKq1C9UP1sedmHfKRVqN65-_M4bYH-w5GF6gdHg1D9qq1Ph7MHWyIXP66nd4FC9T_QVJvDH_TAO4YkwybuGL1QF_704psNSS5MFIA2sJ4xTHrECEI1H0No4G41iFqeZvQn2k6fYyehrqKWCVLIm5DX9-crw4N2Z2BAmANqBibQxnzCJ7hkZuIX93F5d5YXhC_MZPjDOgdxocfxbSLn6JE4Wz_RsQT1uMCTkZ5GhBPEfV11eEu7DcYx2I0t-XQddMRvGp8hr8gLmZhnpitNW7Y6w664qLIp6kbKbOmaVpey0kWhzWhUXVU4VUXdmstUy7Mepsx2SqqzbIq6OEspZX5ppqmplTJV2aq2qsRZ4qqty1PGOYU5szHu2BXyXLVl5vSALh6dVmomMjDZEBmOIaFUanrojn4M-xzFWTobOX5tY8vu-CeOmlQ3uH4rO35l_Gzzj6yzPbjul-t5cEtV_NBw79T_AQAA__8PvTRv">