[all-commits] [llvm/llvm-project] 49745f: [mlir][python] Add `destroy` method to PyOperation.

mikeurbach via All-commits all-commits at lists.llvm.org
Wed Apr 28 18:30:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49745f87e61014ac2a9e93bcad1225c55695b9b7
      https://github.com/llvm/llvm-project/commit/49745f87e61014ac2a9e93bcad1225c55695b9b7
  Author: Mike Urbach <mikeurbach at gmail.com>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mlir/lib/Bindings/Python/IRCore.cpp
    M mlir/lib/Bindings/Python/IRModule.h
    M mlir/test/Bindings/Python/ir_operation.py

  Log Message:
  -----------
  [mlir][python] Add `destroy` method to PyOperation.

This adds a method to directly invoke `mlirOperationDestroy` on the
MlirOperation wrapped by a PyOperation.

Reviewed By: stellaraccident, mehdi_amini

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




More information about the All-commits mailing list