aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorJacques Pienaar <jpienaar@google.com>2020-04-16 08:05:21 -0700
committerJacques Pienaar <jpienaar@google.com>2020-04-20 13:13:04 -0700
commit9ba37b3bf294d5478aa4c1f6a96def7204181de6 (patch)
tree1fa2a3ae511af219dd54ff58bd067d32de6d96dc /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parent897409fb56f4525639b0e47e88960f24cd91c924 (diff)
downloadllvm-9ba37b3bf294d5478aa4c1f6a96def7204181de6.zip
llvm-9ba37b3bf294d5478aa4c1f6a96def7204181de6.tar.gz
llvm-9ba37b3bf294d5478aa4c1f6a96def7204181de6.tar.bz2
[mlir][ods] Add materialize derived attribute method
Summary: Generate method to generate a DictionaryAttr with attribute values of derived attribute. If a conversion back from the derived attribute C++ type to Attribute is not defined, then attempting to materialize such an op's derived attributes would result in runtime failure. This allows to treat derived attributes and attributes of an op in more uniform manner where needed. The derived attributes are not added to the operation but returned as new attribute instead. Differential Revision: https://reviews.llvm.org/D78302
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions