[all-commits] [llvm/llvm-project] 5664c5: [MLIR] [Python] Add `owner` to PyValue and fix its...

John Demme via All-commits all-commits at lists.llvm.org
Wed Jul 14 20:46:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5664c5e24ed42f58175428c5aeb53418b4ff76b0
      https://github.com/llvm/llvm-project/commit/5664c5e24ed42f58175428c5aeb53418b4ff76b0
  Author: John Demme <john.demme at microsoft.com>
  Date:   2021-07-14 (Wed, 14 Jul 2021)

  Changed paths:
    M mlir/lib/Bindings/Python/IRCore.cpp

  Log Message:
  -----------
  [MLIR] [Python] Add `owner` to PyValue and fix its parent reference

Adds `owner` python call to `mlir.ir.Value`.

Assuming that `PyValue.parentOperation` is intended to be the value's owner, this fixes the construction of it from `PyOpOperandList`.

Reviewed By: stellaraccident

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




More information about the All-commits mailing list