Add Python bindings for the OpaqueType
authordime10 <dime10@users.noreply.github.com>
Wed, 8 Jun 2022 17:50:12 +0000 (19:50 +0200)
committerAlex Zinenko <zinenko@google.com>
Wed, 8 Jun 2022 17:51:00 +0000 (19:51 +0200)
commit4f55ed5a1ecb8f3a5b437676f519b8213af40026
tree3c6871d4dcd572c9abd779b196ed94b581f58ec1
parent28aa7d188492223eb600317239f97b3f76dff1ee
Add Python bindings for the OpaqueType

Implement the C-API and Python bindings for the builtin opaque type, which was previously missing.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D127303
mlir/include/mlir-c/BuiltinTypes.h
mlir/lib/Bindings/Python/IRTypes.cpp
mlir/lib/CAPI/IR/BuiltinTypes.cpp
mlir/python/mlir/_mlir_libs/_mlir/ir.pyi
mlir/test/CAPI/ir.c
mlir/test/python/ir/builtin_types.py