[PATCH] D76573: [mlir] Revamp operation documentation generation

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 22 13:55:32 PDT 2020


rriddle created this revision.
rriddle added reviewers: mehdi_amini, jpienaar.
Herald added subscribers: llvm-commits, bader, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, csigg, nicolasvasilache, antiagainst, shauheen, burmako, mgorny.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: mravishankar.
Herald added a reviewer: antiagainst.
Herald added a reviewer: nicolasvasilache.
Herald added a reviewer: herhut.
Herald added a reviewer: antiagainst.
Herald added a reviewer: aartbik.
Herald added a project: LLVM.

This revisions performs several cleanups to the generated dialect documentation:

- Standardizes format of attributes/operands/results sections
- Splits out operation/type/dialect documentation generation to allow for composing generated and hand-written documentation
- Add section for declarative assembly syntax and successors
- General cleanup


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76573

Files:
  mlir/cmake/modules/AddMLIR.cmake
  mlir/docs/CreatingADialect.md
  mlir/docs/Dialects/Vector.md
  mlir/docs/OpDefinitions.md
  mlir/include/mlir/Dialect/AffineOps/CMakeLists.txt
  mlir/include/mlir/Dialect/FxpMathOps/CMakeLists.txt
  mlir/include/mlir/Dialect/GPU/CMakeLists.txt
  mlir/include/mlir/Dialect/LLVMIR/CMakeLists.txt
  mlir/include/mlir/Dialect/Linalg/IR/CMakeLists.txt
  mlir/include/mlir/Dialect/LoopOps/CMakeLists.txt
  mlir/include/mlir/Dialect/OpenMP/CMakeLists.txt
  mlir/include/mlir/Dialect/Quant/CMakeLists.txt
  mlir/include/mlir/Dialect/SPIRV/CMakeLists.txt
  mlir/include/mlir/Dialect/Vector/CMakeLists.txt
  mlir/include/mlir/TableGen/Operator.h
  mlir/lib/TableGen/Operator.cpp
  mlir/tools/mlir-tblgen/OpDocGen.cpp
  mlir/tools/mlir-tblgen/OpFormatGen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76573.251915.patch
Type: text/x-patch
Size: 21176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200322/7283f21e/attachment.bin>


More information about the llvm-commits mailing list