This patch adds a partial specialization of mlir::FieldParser that enables types to specify custom assembly formats that involve optional attributes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D140322
[mlir] Enable types to us custom assembly formats involving optional attributes ClosedPublic Authored by laszlokindrat on Dec 19 2022, 10:36 AM.
Details Summary This patch adds a partial specialization of mlir::FieldParser that enables types to specify custom assembly formats that involve optional attributes.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 19 2022, 10:41 AM Closed by commit rG6a6ec6a7ce2f: [mlir] Enable types to us custom assembly formats involving optional attributes. (authored by nkreeger). · Explain WhyDec 23 2022, 7:55 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 485116 mlir/include/mlir/IR/DialectImplementation.h
mlir/test/lib/Dialect/Test/TestTypeDefs.td
mlir/test/mlir-tblgen/attr-or-type-format-roundtrip.mlir
|