This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Pass] Add support for generating pass documention from the tablegen definition
ClosedPublic

Authored by rriddle on Mar 23 2020, 5:42 PM.

Details

Summary

This revision adds support for auto-generating pass documentation, replacing the need to manually keep Passes.md up-to-date. This matches the behavior already in place for dialect and interface documentation.

Depends On D76659

Diff Detail

Event Timeline

rriddle created this revision.Mar 23 2020, 5:42 PM
antiagainst accepted this revision.Mar 26 2020, 12:23 PM

Cool stuff!

mlir/tools/mlir-tblgen/PassDocGen.cpp
38

Will this work in rendered html? Or actually you just want to have a better markdown output here?

This revision is now accepted and ready to land.Mar 26 2020, 12:23 PM
This revision was automatically updated to reflect the committed changes.