[all-commits] [llvm/llvm-project] e936c3: [mlir][ods] Allow custom directives in optional gr...

Jeff Niu via All-commits all-commits at lists.llvm.org
Wed Oct 12 17:56:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e936c3bb48c758ff4f490367d80db5a04170a9e8
      https://github.com/llvm/llvm-project/commit/e936c3bb48c758ff4f490367d80db5a04170a9e8
  Author: Jeff Niu <jeff at modular.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M mlir/docs/AttributesAndTypes.md
    M mlir/test/lib/Dialect/Test/TestAttrDefs.td
    M mlir/test/lib/Dialect/Test/TestAttributes.cpp
    M mlir/test/mlir-tblgen/attr-or-type-format-invalid.td
    M mlir/test/mlir-tblgen/attr-or-type-format-roundtrip.mlir
    M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp

  Log Message:
  -----------
  [mlir][ods] Allow custom directives in optional groups

Attributes and types only (so far). Since `struct` and `params` are
allowed, it makes sense to allow custom directives as long as their
arguments contain at least one bound argument.

Reviewed By: rriddle

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




More information about the All-commits mailing list