[all-commits] [llvm/llvm-project] 95b77f: Adds __str__ support to python mlir.ir.MlirModule.

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Mon Aug 17 09:47:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 95b77f2eac8f3498fc20299f2515b3ce3440b82e
      https://github.com/llvm/llvm-project/commit/95b77f2eac8f3498fc20299f2515b3ce3440b82e
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2020-08-17 (Mon, 17 Aug 2020)

  Changed paths:
    M mlir/lib/Bindings/Python/CMakeLists.txt
    M mlir/lib/Bindings/Python/IRModules.cpp
    M mlir/lib/Bindings/Python/IRModules.h
    M mlir/lib/Bindings/Python/MainModule.cpp
    A mlir/lib/Bindings/Python/PybindUtils.cpp
    A mlir/lib/Bindings/Python/PybindUtils.h
    M mlir/lib/CAPI/IR/IR.cpp
    A mlir/test/Bindings/Python/ir_module_test.py
    R mlir/test/Bindings/Python/ir_test.py
    R mlir/test/Bindings/Python/smoke_test.py

  Log Message:
  -----------
  Adds __str__ support to python mlir.ir.MlirModule.

* Also raises an exception on parse error.
* Removes placeholder smoketest.
* Adds docstrings.

Differential Revision: https://reviews.llvm.org/D86046




More information about the All-commits mailing list