[all-commits] [llvm/llvm-project] 90ae4d: Change add_mlir_doc CMake macro to take the tableg...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Wed Apr 14 20:00:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90ae4d9030b0abb04d1805c4f0802c17e58461c2
      https://github.com/llvm/llvm-project/commit/90ae4d9030b0abb04d1805c4f0802c17e58461c2
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-04-15 (Thu, 15 Apr 2021)

  Changed paths:
    M mlir/cmake/modules/AddMLIR.cmake
    M mlir/examples/standalone/include/Standalone/CMakeLists.txt
    M mlir/include/mlir/Conversion/CMakeLists.txt
    M mlir/include/mlir/Dialect/AMX/CMakeLists.txt
    M mlir/include/mlir/Dialect/Affine/CMakeLists.txt
    M mlir/include/mlir/Dialect/Affine/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/ArmNeon/CMakeLists.txt
    M mlir/include/mlir/Dialect/ArmSVE/CMakeLists.txt
    M mlir/include/mlir/Dialect/Async/CMakeLists.txt
    M mlir/include/mlir/Dialect/Async/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/Complex/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/DLTI/CMakeLists.txt
    M mlir/include/mlir/Dialect/GPU/CMakeLists.txt
    M mlir/include/mlir/Dialect/LLVMIR/CMakeLists.txt
    M mlir/include/mlir/Dialect/LLVMIR/Transforms/CMakeLists.txt
    M mlir/include/mlir/Dialect/Linalg/CMakeLists.txt
    M mlir/include/mlir/Dialect/Linalg/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/Math/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/MemRef/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/MemRef/Transforms/CMakeLists.txt
    M mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt
    M mlir/include/mlir/Dialect/OpenMP/CMakeLists.txt
    M mlir/include/mlir/Dialect/PDL/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/PDLInterp/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/Quant/CMakeLists.txt
    M mlir/include/mlir/Dialect/SCF/CMakeLists.txt
    M mlir/include/mlir/Dialect/SPIRV/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/SPIRV/Transforms/CMakeLists.txt
    M mlir/include/mlir/Dialect/Shape/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/Shape/Transforms/CMakeLists.txt
    M mlir/include/mlir/Dialect/StandardOps/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/StandardOps/Transforms/CMakeLists.txt
    M mlir/include/mlir/Dialect/Tensor/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/Tensor/Transforms/CMakeLists.txt
    M mlir/include/mlir/Dialect/Tosa/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/Tosa/Transforms/CMakeLists.txt
    M mlir/include/mlir/Dialect/Vector/CMakeLists.txt
    M mlir/include/mlir/Dialect/X86Vector/CMakeLists.txt
    M mlir/include/mlir/IR/CMakeLists.txt
    M mlir/include/mlir/Reducer/CMakeLists.txt
    M mlir/include/mlir/Transforms/CMakeLists.txt
    M mlir/tools/mlir-tblgen/DialectGen.cpp
    M mlir/tools/mlir-tblgen/OpDocGen.cpp

  Log Message:
  -----------
  Change add_mlir_doc CMake macro to take the tablegen command as last argument to allow extra flags

This is useful for expressing specific table-gen options, like selecting
a particular dialect to print.
Use it to fix the documentation for the `pdl_interp` dialect which is now
generating the first dialect it finds in its input which is `pdl`.

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




More information about the All-commits mailing list