[all-commits] [llvm/llvm-project] 053325: [mlir][ods] Ignore AttributeSelfTypeParameter in a...

Jeff Niu via All-commits all-commits at lists.llvm.org
Mon May 16 13:24:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0533253d81d8ab2641549963c7ad37dfccd39734
      https://github.com/llvm/llvm-project/commit/0533253d81d8ab2641549963c7ad37dfccd39734
  Author: Mogball <jeffniu22 at gmail.com>
  Date:   2022-05-16 (Mon, 16 May 2022)

  Changed paths:
    M mlir/lib/IR/AsmPrinter.cpp
    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-roundtrip.mlir
    M mlir/test/mlir-tblgen/attr-or-type-format.td
    M mlir/test/mlir-tblgen/testdialect-attrdefs.mlir
    M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp

  Log Message:
  -----------
  [mlir][ods] Ignore AttributeSelfTypeParameter in assembly formats

The attribute self type parameter is currently treated like any other attribute parameter in the assembly format. The self type parameter should be handled by the operation parser and printer and play no role in the generated parsers and printers of attributes.

Reviewed By: rriddle

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




More information about the All-commits mailing list