This is an archive of the discontinued LLVM Phabricator instance.

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 Timeline

mehdi_amini created this revision.Jun 28 2022, 4:26 AM
Herald added a project: Restricted Project. · View Herald Transcript
mehdi_amini requested review of this revision.Jun 28 2022, 4:26 AM

minor naming fix

Mogball accepted this revision.Jun 28 2022, 7:59 AM
Mogball added inline comments.
mlir/include/mlir/IR/OpImplementation.h
82

Just call printStrippedAttrOrType?

This revision is now accepted and ready to land.Jun 28 2022, 7:59 AM
rriddle accepted this revision.Jun 28 2022, 9:46 AM
rriddle added inline comments.
mlir/test/lib/Dialect/Test/TestAttrDefs.td
187

Can you wrap this?

This revision was automatically updated to reflect the committed changes.
mehdi_amini marked 2 inline comments as done.

Addressed and pushed!