[all-commits] [llvm/llvm-project] 013b93: [mlir][Python] Custom python op view wrappers for ...

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Tue Oct 27 12:29:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 013b9322dea9564ac85c4082fb0f07ff093eef63
      https://github.com/llvm/llvm-project/commit/013b9322dea9564ac85c4082fb0f07ff093eef63
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2020-10-27 (Tue, 27 Oct 2020)

  Changed paths:
    M mlir/lib/Bindings/Python/CMakeLists.txt
    A mlir/lib/Bindings/Python/Globals.h
    M mlir/lib/Bindings/Python/IRModules.cpp
    M mlir/lib/Bindings/Python/IRModules.h
    M mlir/lib/Bindings/Python/MainModule.cpp
    M mlir/lib/Bindings/Python/mlir/__init__.py
    A mlir/lib/Bindings/Python/mlir/dialects/__init__.py
    A mlir/lib/Bindings/Python/mlir/dialects/std.py
    A mlir/lib/Bindings/Python/mlir/ir.py
    A mlir/test/Bindings/Python/dialects.py

  Log Message:
  -----------
  [mlir][Python] Custom python op view wrappers for building and traversing.

* Still rough edges that need more sugar but the bones are there. Notes left in the test case for things that can be improved.
* Does not actually yield custom OpViews yet for traversing. Will rework that in a followup.

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




More information about the All-commits mailing list