[PATCH] D76660: [mlir][Pass] Add support for generating pass documention from the tablegen definition

Lei Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 26 12:29:40 PDT 2020


antiagainst accepted this revision.
antiagainst added a comment.
This revision is now accepted and ready to land.

Cool stuff!



================
Comment at: mlir/tools/mlir-tblgen/PassDocGen.cpp:37
+      os << "-" << option.getArgument();
+      os.indent(longestOption - option.getArgument().size())
+          << " : " << option.getDescription() << "\n";
----------------
Will this work in rendered html? Or actually you just want to have a better markdown output here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76660/new/

https://reviews.llvm.org/D76660





More information about the llvm-commits mailing list