[all-commits] [llvm/llvm-project] 0126e9: [MLIR] [Python] Add capsule methods for pybind11 t...

John Demme via All-commits all-commits at lists.llvm.org
Tue Apr 6 14:30:24 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0126e906483c50c47db0687195e4b0216479846e
      https://github.com/llvm/llvm-project/commit/0126e906483c50c47db0687195e4b0216479846e
  Author: John Demme <john.demme at microsoft.com>
  Date:   2021-04-06 (Tue, 06 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 capsule methods for pybind11 to PyOperation

Add the `getCapsule()` and `createFromCapsule()` methods to the PyOperation class.

Reviewed By: stellaraccident

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




More information about the All-commits mailing list