[Mlir-commits] [mlir] [mlir][python] Make the Context/Operation capsule creation methods work as documented. (PR #76010)

Stella Laurenzo llvmlistbot at llvm.org
Wed Dec 20 09:56:49 PST 2023


stellaraccident wrote:

> > [pybind/pybind11#287 (comment)](https://github.com/pybind/pybind11/issues/287#issuecomment-233373721)
> 
> TIL:
> 
> > (You can enforce a custom return value policy as a template argument to cast.)
> 
> Okay will review with a fine-toothed comb tomorrow!

Thanks. I beefed up the downstream tests for this and enabled on all platforms. Afaict, this is the first time this feature has worked reliably: https://github.com/openxla/iree/pull/15982

I think I got the vital characteristics of it tested upstream now, so should be an overall improvement to reliability.


https://github.com/llvm/llvm-project/pull/76010


More information about the Mlir-commits mailing list