diff options
author | Stella Laurenzo <stellaraccident@gmail.com> | 2020-10-19 22:29:35 -0700 |
---|---|---|
committer | Stella Laurenzo <stellaraccident@gmail.com> | 2020-10-19 22:29:35 -0700 |
commit | 0e6beb29966abc6666e73ab5f151cb9754f04901 (patch) | |
tree | a73ddb032cc4c441385313f90181e96a475f5242 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 545c687c4b06b403915b92f422ddad737a6357b9 (diff) | |
download | llvm-0e6beb29966abc6666e73ab5f151cb9754f04901.zip llvm-0e6beb29966abc6666e73ab5f151cb9754f04901.tar.gz llvm-0e6beb29966abc6666e73ab5f151cb9754f04901.tar.bz2 |
[mlir][Python] Add python binding to create DenseElementsAttribute.
* Interops with Python buffers/numpy arrays to create.
* Also cleans up 'get' factory methods on some types to be consistent.
* Adds mlirAttributeGetType() to C-API to facilitate error handling and other uses.
* Punts on a lot of features of the ElementsAttribute hierarchy for now.
* Does not yet support bool or string attributes.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D89363
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions