google / heir

A compiler for homomorphic encryption
https://heir.dev/
Apache License 2.0
231 stars 33 forks source link

docs: add tensor_ext canonicalization documentation somewhere under the Dialect/TensorExt page #722

Open asraa opened 1 month ago

asraa commented 1 month ago

On the website, we can either append it as a section on the single TensorExt page: https://heir.dev/docs/dialects/tensorext/, or we can add a sub-page about Design or more info?

j2kun commented 1 month ago

Canonicalization rules are weird in that, to my knowledge, there's no way to auto-generate docs from the tblgen. So this would have to be a manual process. I'll ask around in the MLIR world to see if there's a better way.

asraa commented 1 month ago

Right! My feeling was putting a manual description in a README.md as a section.

j2kun commented 1 month ago

Posted https://discourse.llvm.org/t/autogenerated-documentation-for-drr-patterns/79426