diff options
author | Stella Laurenzo <stellaraccident@gmail.com> | 2020-11-29 13:30:23 -0800 |
---|---|---|
committer | Stella Laurenzo <stellaraccident@gmail.com> | 2020-11-29 18:09:07 -0800 |
commit | bd2083c2fa7bb8769ca997a0303da54432e08519 (patch) | |
tree | edf17802713adec94625b93a810fc602d614f7b0 /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | |
parent | e6c17776858d9ec5c2ce15447b384da2141bbbad (diff) | |
download | llvm-bd2083c2fa7bb8769ca997a0303da54432e08519.zip llvm-bd2083c2fa7bb8769ca997a0303da54432e08519.tar.gz llvm-bd2083c2fa7bb8769ca997a0303da54432e08519.tar.bz2 |
[mlir][Python] Python API cleanups and additions found during code audit.
* Add capsule get/create for Attribute and Type, which already had capsule interop defined.
* Add capsule interop and get/create for Location.
* Add Location __eq__.
* Use get() and implicit cast to go from PyAttribute, PyType, PyLocation to MlirAttribute, MlirType, MlirLocation (bundled with this change because I didn't want to continue the pattern one more time).
Differential Revision: https://reviews.llvm.org/D92283
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyIndVar.cpp')
0 files changed, 0 insertions, 0 deletions