This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Python] Allow PassManager to interop with the capsule APIs.
ClosedPublic

Authored by stellaraccident on Nov 10 2020, 9:02 PM.

Details

Summary
  • Used in npcomp to cast Python objects via the C-API.

Diff Detail

Event Timeline

stellaraccident requested review of this revision.Nov 10 2020, 9:02 PM
mehdi_amini accepted this revision.Nov 11 2020, 10:00 AM
mehdi_amini added inline comments.
mlir/test/Bindings/Python/pass_manager.py
30

Nit: the other tests don't have an empty line above the run call.

This revision is now accepted and ready to land.Nov 11 2020, 10:00 AM
stellaraccident marked an inline comment as done.

Rebase and comments

This revision was landed with ongoing or failed builds.Nov 11 2020, 10:37 AM
This revision was automatically updated to reflect the committed changes.