Fix printing for ArrayRef attributes/types in declarative assembly format
authorMehdi Amini <joker.eph@gmail.com>
Tue, 28 Jun 2022 17:32:00 +0000 (17:32 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 28 Jun 2022 17:39:38 +0000 (17:39 +0000)
commitf68454ee8fd5188986c2ef2741352bab9d57d6c1
tree4cb11798ac004b25dc1fbadbd6b30610dba3f765
parent9d37895a71cb7f2acdf3cd5dc30d05d06bfe6bc5
Fix printing for ArrayRef attributes/types in declarative assembly format

These were abbreviated when parsing, but not when printing.

Reviewed By: Mogball, rriddle

Differential Revision: https://reviews.llvm.org/D128720
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