[all-commits] [llvm/llvm-project] 6ff74f: [mlir][python] Update `PyOpResult.owner` to get th...

mikeurbach via All-commits all-commits at lists.llvm.org
Wed Apr 28 13:40:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ff74f96fd9ecdd903f66613c2e1422cb686b58e
      https://github.com/llvm/llvm-project/commit/6ff74f96fd9ecdd903f66613c2e1422cb686b58e
  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/test/Bindings/Python/ir_value.py

  Log Message:
  -----------
  [mlir][python] Update `PyOpResult.owner` to get the parent object.

Previously, this API would return the PyObjectRef, rather than the
underlying PyOperation.

Reviewed By: stellaraccident

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




More information about the All-commits mailing list