diff options
author | Jeff Niu <jeff@modular.com> | 2023-02-16 10:27:10 -0800 |
---|---|---|
committer | Jeff Niu <jeff@modular.com> | 2023-02-17 10:07:53 -0800 |
commit | f25cfd339a8024f9abf787713d07b687384dd59b (patch) | |
tree | ba0476bbef15136ccac3587cc780a42b49f384d9 /llvm/lib/TextAPI/InterfaceFile.cpp | |
parent | be83a4b257c8f0dfd74a659261a544483c5df9af (diff) | |
download | llvm-f25cfd339a8024f9abf787713d07b687384dd59b.zip llvm-f25cfd339a8024f9abf787713d07b687384dd59b.tar.gz llvm-f25cfd339a8024f9abf787713d07b687384dd59b.tar.bz2 |
[mlir] Reintroduce API for creating operations with a DictionaryAttr
This patch reintroduces an API to create operations with a pre-existing
DictionaryAttr. This API does not populate the attributes with any
default attributes the operation may have, like the API that takes a
NamedAttrList does. NamedAttrList is effective at not re-hashing the
attributes if no default attributes were added, but this new API speeds
up clone-heavy workloads slightly (~5%).
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D144204
Diffstat (limited to 'llvm/lib/TextAPI/InterfaceFile.cpp')
0 files changed, 0 insertions, 0 deletions