[all-commits] [llvm/llvm-project] c5b060: [mlir] Add setters for Dynamic[Type|Attr]Definition

Fehr Mathieu via All-commits all-commits at lists.llvm.org
Thu Mar 9 10:53:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5b060900e985ac1d5b80b957d9067c6d6959095
      https://github.com/llvm/llvm-project/commit/c5b060900e985ac1d5b80b957d9067c6d6959095
  Author: Fehr Mathieu <mathieu.fehr at gmail.com>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

  Changed paths:
    M mlir/include/mlir/IR/ExtensibleDialect.h

  Log Message:
  -----------
  [mlir] Add setters for Dynamic[Type|Attr]Definition

Add functions to set the verifier, printer, and parser of
dynamic attributes definitions, and dynamic type definitions.

This feature was already implemented for dynamic operations, but
is missing for attributes and types. This is necessary to define
attributes and types verifiers that refer to each others in a cyclic way.

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




More information about the All-commits mailing list