diff options
author | River Riddle <riddleriver@gmail.com> | 2020-12-17 17:10:12 -0800 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2020-12-17 17:18:42 -0800 |
commit | fc5cf50e892b5e2307de924923fe799702b055d2 (patch) | |
tree | 001e87a223f1a4bdb410fb8c26e932e67648cccb /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 4b07c515ef407786a5c2ebc9f7f9d2638eeaf8cf (diff) | |
download | llvm-fc5cf50e892b5e2307de924923fe799702b055d2.zip llvm-fc5cf50e892b5e2307de924923fe799702b055d2.tar.gz llvm-fc5cf50e892b5e2307de924923fe799702b055d2.tar.bz2 |
[mlir] Remove the MutableDictionaryAttr class
This class used to serve a few useful purposes:
* Allowed containing a null DictionaryAttr
* Provided some simple mutable API around a DictionaryAttr
The first of which is no longer an issue now that there is much better caching support for attributes in general, and a cache in the context for empty dictionaries. The second results in more trouble than it's worth because it mutates the internal dictionary on every action, leading to a potentially large number of dictionary copies. NamedAttrList is a much better alternative for the second use case, and should be modified as needed to better fit it's usage as a DictionaryAttrBuilder.
Differential Revision: https://reviews.llvm.org/D93442
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions