[all-commits] [llvm/llvm-project] 63f0c0: Add a `qualified` directive to the Op, Attribute, ...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Jan 10 17:50:32 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63f0c00d38ee7879239975a6743d4e6c7847b725
      https://github.com/llvm/llvm-project/commit/63f0c00d38ee7879239975a6743d4e6c7847b725
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M mlir/docs/OpDefinitions.md
    M mlir/docs/Tutorials/DefiningAttributesAndTypes.md
    M mlir/test/lib/Dialect/Test/TestAttrDefs.td
    M mlir/test/lib/Dialect/Test/TestOps.td
    M mlir/test/lib/Dialect/Test/TestTypeDefs.td
    M mlir/test/mlir-tblgen/op-format.mlir
    M mlir/test/mlir-tblgen/testdialect-attrdefs.mlir
    M mlir/test/mlir-tblgen/testdialect-typedefs.mlir
    M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
    M mlir/tools/mlir-tblgen/FormatGen.cpp
    M mlir/tools/mlir-tblgen/FormatGen.h
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp

  Log Message:
  -----------
  Add a `qualified` directive to the Op, Attribute, and Type declarative assembly format

This patch introduces a new directive that allow to parse/print attributes and types fully
qualified.
This is a follow-up to ee0908703d29 which introduces the eliding of the `!dialect.mnemonic` by default and allows to force to fully qualify each type/attribute
individually.

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




More information about the All-commits mailing list