diff options
author | zhanghb97 <hongbin2019@iscas.ac.cn> | 2020-11-08 09:28:35 +0800 |
---|---|---|
committer | zhanghb97 <hongbin2019@iscas.ac.cn> | 2020-11-18 15:50:59 +0800 |
commit | 77133b29b93406638915c7d9a6b8b8a81a067df3 (patch) | |
tree | ac04009b4846e7293c502a2da881237abb9a2ea2 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f0b0bab34dd82c07d153d31363d89ebd04cc733d (diff) | |
download | llvm-77133b29b93406638915c7d9a6b8b8a81a067df3.zip llvm-77133b29b93406638915c7d9a6b8b8a81a067df3.tar.gz llvm-77133b29b93406638915c7d9a6b8b8a81a067df3.tar.bz2 |
[mlir] Get array from the dense elements attribute with buffer protocol.
- Add `mlirElementsAttrGetType` C API.
- Add `def_buffer` binding to PyDenseElementsAttribute.
- Implement the protocol to access the buffer.
Differential Revision: https://reviews.llvm.org/D91021
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions