[all-commits] [llvm/llvm-project] d39a78: [MLIR][python bindings] Expose TypeIDs in python
Maksim Levental via All-commits
all-commits at lists.llvm.org
Mon May 22 11:21:45 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d39a7844028bcdd28f72b0e69becc9c49b8fd283
https://github.com/llvm/llvm-project/commit/d39a7844028bcdd28f72b0e69becc9c49b8fd283
Author: max <maksim.levental at gmail.com>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M mlir/include/mlir-c/Bindings/Python/Interop.h
M mlir/include/mlir-c/BuiltinTypes.h
M mlir/include/mlir/Bindings/Python/PybindAdaptors.h
M mlir/lib/Bindings/Python/IRCore.cpp
M mlir/lib/Bindings/Python/IRModule.h
M mlir/lib/Bindings/Python/IRTypes.cpp
M mlir/lib/CAPI/IR/BuiltinTypes.cpp
M mlir/python/mlir/dialects/python_test.py
M mlir/test/python/dialects/python_test.py
M mlir/test/python/ir/builtin_types.py
M mlir/test/python/lib/PythonTestModule.cpp
Log Message:
-----------
[MLIR][python bindings] Expose TypeIDs in python
This diff adds python bindings for `MlirTypeID`. It paves the way for returning accurately typed `Type`s from python APIs (see D150927) and then further along building type "conscious" `Value` APIs (see D150413).
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D150839
More information about the All-commits
mailing list