aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/InterfaceFile.cpp
diff options
context:
space:
mode:
authorJeff Niu <jeff@modular.com>2023-02-16 10:27:10 -0800
committerJeff Niu <jeff@modular.com>2023-02-17 10:07:53 -0800
commitf25cfd339a8024f9abf787713d07b687384dd59b (patch)
treeba0476bbef15136ccac3587cc780a42b49f384d9 /llvm/lib/TextAPI/InterfaceFile.cpp
parentbe83a4b257c8f0dfd74a659261a544483c5df9af (diff)
downloadllvm-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