[all-commits] [llvm/llvm-project] 2d1362: Add Location, Region and Block to MLIR Python bind...
Stella Laurenzo via All-commits
all-commits at lists.llvm.org
Fri Aug 28 15:29:54 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2d1362e09af2e35c93aca59852211a735d865a54
https://github.com/llvm/llvm-project/commit/2d1362e09af2e35c93aca59852211a735d865a54
Author: Stella Laurenzo <stellaraccident at gmail.com>
Date: 2020-08-28 (Fri, 28 Aug 2020)
Changed paths:
M mlir/include/mlir-c/IR.h
M mlir/lib/Bindings/Python/IRModules.cpp
M mlir/lib/Bindings/Python/IRModules.h
M mlir/lib/Bindings/Python/PybindUtils.h
M mlir/lib/CAPI/IR/IR.cpp
A mlir/test/Bindings/Python/ir_location.py
A mlir/test/Bindings/Python/ir_operation.py
Log Message:
-----------
Add Location, Region and Block to MLIR Python bindings.
* This is just enough to create regions/blocks and iterate over them.
* Does not yet implement the preferred iteration strategy (python pseudo containers).
* Refinements need to come after doing basic mappings of operations and values so that the whole hierarchy can be used.
Differential Revision: https://reviews.llvm.org/D86683
More information about the All-commits
mailing list