Depends On: D151983
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
It would be nice to find a way to document these. Maybe update docs/Dialects/Transform.md to include a newly created docs/Dialects/TransformTensor.md, which itself contains a textual description of these pattern sets followed by include docs/Dialect/<generated_doc>.md.
Comment Actions
I'm wondering if there's a way to place the documentation somewhere next to the implementation and auto-generate the .md. So that docs and code don't start to diverge... The registrations here could also be used for pattern tests. I.e., having a pass such as -test-registered-patterns="tensor.reassociative_reshape_folding" instead of Option<bool> testReassociativeReshapeFolding{ etc. in TestTensorTransforms.cpp.