These were abbreviated when parsing, but not when printing.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D128720
Fix printing for ArrayRef attributes/types in declarative assembly format ClosedPublic Authored by mehdi_amini on Jun 28 2022, 4:26 AM.
Details Summary These were abbreviated when parsing, but not when printing.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 28 2022, 7:59 AM Closed by commit rGf68454ee8fd5: Fix printing for ArrayRef attributes/types in declarative assembly format (authored by mehdi_amini). · Explain WhyJun 28 2022, 10:40 AM This revision was automatically updated to reflect the committed changes. mehdi_amini marked 2 inline comments as done.
Revision Contents
Diff 440562 mlir/include/mlir/IR/OpImplementation.h
mlir/test/lib/Dialect/Test/TestAttrDefs.td
mlir/test/lib/Dialect/Test/TestAttributes.cpp
mlir/test/mlir-tblgen/attr-or-type-format-roundtrip.mlir
mlir/test/mlir-tblgen/attr-or-type-format.mlir
|
Just call printStrippedAttrOrType?