Initial MLIR python bindings based on the C API.
authorzhanghb97 <zhanghb97@126.com>
Mon, 17 Aug 2020 01:49:28 +0000 (18:49 -0700)
committerStella Laurenzo <stellaraccident@gmail.com>
Mon, 17 Aug 2020 02:34:25 +0000 (19:34 -0700)
commitfcd2969da9e04a70103bfbf8a382c0842fcf6aaf
tree7f65351412e75401501045f039dba69c19dce324
parente10e7829bf6f10c053c05e42b676d7acaf54a221
Initial MLIR python bindings based on the C API.

* Basic support for context creation, module parsing and dumping.

Differential Revision: https://reviews.llvm.org/D85481
mlir/lib/Bindings/Python/CMakeLists.txt
mlir/lib/Bindings/Python/IRModules.cpp [new file with mode: 0644]
mlir/lib/Bindings/Python/IRModules.h [new file with mode: 0644]
mlir/lib/Bindings/Python/MainModule.cpp
mlir/test/Bindings/Python/ir_test.py [new file with mode: 0644]