[all-commits] [llvm/llvm-project] 1a083f: [mlir] Revamp operation documentation generation

River Riddle via All-commits all-commits at lists.llvm.org
Tue Mar 24 12:05:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a083f027f33f4014247df4c0e757e23d5cdab64
      https://github.com/llvm/llvm-project/commit/1a083f027f33f4014247df4c0e757e23d5cdab64
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-03-24 (Tue, 24 Mar 2020)

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

  Log Message:
  -----------
  [mlir] Revamp operation documentation generation

Summary:
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

Differential Revision: https://reviews.llvm.org/D76573




More information about the All-commits mailing list