[mlir] Move constBuidlerCall from to ArrayAttrBase
authorAlex Zinenko <zinenko@google.com>
Mon, 7 Feb 2022 09:28:09 +0000 (10:28 +0100)
committerAlex Zinenko <zinenko@google.com>
Tue, 8 Feb 2022 08:31:11 +0000 (09:31 +0100)
commit68784267b1b378a1043c473e43fd37ada2507314
tree1f6716caf21d810b6eaf686ace0d149d8beee8f4
parent3df6cadec45ec3db8e31706bd7f5015fd2543695
[mlir] Move constBuidlerCall from to ArrayAttrBase

This makes it applicable to both ArrayAttr and its typed subclasses instead of
only the latter. There is no good reason why ArrayAttr shouldn't be
const-buildable while its typed subclasses are, this was likely just an
omission.

Depends On D119113

Reviewed By: rriddle, nicolasvasilache

Differential Revision: https://reviews.llvm.org/D119114
mlir/include/mlir/IR/OpBase.td