[mlir] Add a test for default valued dictionary attributes
authorEugene Zhulenev <ezhulenev@google.com>
Thu, 29 Dec 2022 21:24:45 +0000 (13:24 -0800)
committerEugene Zhulenev <ezhulenev@google.com>
Fri, 30 Dec 2022 20:15:54 +0000 (12:15 -0800)
commitb074b356c982a9139cf9dfd1167dd957ea5cc8a1
tree6da0ee83134ff98488596080a97655bd22691052
parenta35b216290c574f80b7620d888fc049757d2fa94
[mlir] Add a test for default valued dictionary attributes

+ Replace special placeholders ($_builder, etc...) in default attribute string

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D140765
mlir/test/mlir-tblgen/op-attribute.td
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp