hanchenye-llvm-project/mlir
River Riddle fc5cf50e89 [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
2020-12-17 17:18:42 -08:00
..
cmake/modules [mlir] use STATUS instead of CHECK_* in MLIRDetectPythonEnv.cmake 2020-11-25 00:09:33 +01:00
docs [mlir] Remove the MutableDictionaryAttr class 2020-12-17 17:18:42 -08:00
examples [mlir] Use mlir::OpState::operator->() to get to methods of mlir::Operation. This is a preparation step to remove the corresponding methods from OpState. 2020-12-09 12:11:32 +01:00
include [mlir] Remove the MutableDictionaryAttr class 2020-12-17 17:18:42 -08:00
integration_test [mlir] Move `std.tensor_cast` -> `tensor.cast`. 2020-12-17 16:06:56 -08:00
lib [mlir] Remove the MutableDictionaryAttr class 2020-12-17 17:18:42 -08:00
test [mlir] Remove the MutableDictionaryAttr class 2020-12-17 17:18:42 -08:00
tools [mlir] Remove the MutableDictionaryAttr class 2020-12-17 17:18:42 -08:00
unittests [mlir][IR][NFC] Move context/location parameters of builtin Type::get methods to the start of the parameter list 2020-12-17 13:01:36 -08:00
utils [mlir] Move `std.tensor_cast` -> `tensor.cast`. 2020-12-17 16:06:56 -08:00
.clang-format
.clang-tidy
CMakeLists.txt [mlir][Python] Check numpy in Python bindings configuration. 2020-12-02 09:29:20 +08:00
LICENSE.TXT
README.md

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.