[Mlir-commits] [llvm] [mlir] [MLIR][Python] reland (narrower) type stub generation (PR #157930)

Maksim Levental llvmlistbot at llvm.org
Tue Sep 16 09:45:56 PDT 2025


makslevental wrote:

> OoC: How many of the bound functions need a manual `nb::sig` and why? How will author authors know when to add it and whether what they do works?

The ones that had to be manually written are those which were in terms of the opaque C structs e.g., `MlirLocation`, `MlirOperation`, etc. That reminds me I wanted to add macros for these instead of just writing them out in each case. Thanks!


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


More information about the Mlir-commits mailing list