[all-commits] [llvm/llvm-project] e0c3b9: [mlir] Restrict dialect doc gen to a single dialect

River Riddle via All-commits all-commits at lists.llvm.org
Mon May 16 15:35:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0c3b94c80143376473ec7110ca0c8a4fe03112e
      https://github.com/llvm/llvm-project/commit/e0c3b94c80143376473ec7110ca0c8a4fe03112e
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-05-16 (Mon, 16 May 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/AMX/CMakeLists.txt
    M mlir/include/mlir/Dialect/ArmNeon/CMakeLists.txt
    M mlir/include/mlir/Dialect/ArmSVE/CMakeLists.txt
    M mlir/test/mlir-tblgen/gen-dialect-doc.td
    M mlir/tools/mlir-tblgen/DialectGen.cpp
    A mlir/tools/mlir-tblgen/DialectGenUtilities.h
    M mlir/tools/mlir-tblgen/OpDocGen.cpp

  Log Message:
  -----------
  [mlir] Restrict dialect doc gen to a single dialect

In the overwhelmingly majority of cases only one dialect is generated at a time
anyways, and this restriction more easily catches user error when multiple
dialects might be generated. We hit this semi-recently with the PDL dialect,
and circt+other downstream users are also actively hitting this as well.

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




More information about the All-commits mailing list