[all-commits] [llvm/llvm-project] 1689da: [MLIR] [Python] Allow 'operation.parent' to return...

John Demme via All-commits all-commits at lists.llvm.org
Mon Aug 16 22:38:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1689dade4218945db175f7916c2261667f9bf371
      https://github.com/llvm/llvm-project/commit/1689dade4218945db175f7916c2261667f9bf371
  Author: John Demme <john.demme at microsoft.com>
  Date:   2021-08-16 (Mon, 16 Aug 2021)

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

  Log Message:
  -----------
  [MLIR] [Python] Allow 'operation.parent' to return 'None'

This is more Pythonic and better matches the C++ and C APIs.

Reviewed By: stellaraccident

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




More information about the All-commits mailing list