[Mlir-commits] [mlir] [mlir:python] Prevent crash in DenseElementsAttr. (PR #163564)

Maksim Levental llvmlistbot at llvm.org
Thu Oct 23 06:46:28 PDT 2025


makslevental wrote:

> It should even be enough to use just enum values

Tried that, didn't work. Nanobind doesn't handle it correctly (I didn't investigate deeply).

> Finally, we can also add the enum values to nanobind; however, we'd have to increase the required version again, 

This is the thing to do but I can't do it (I can't do it - I don't have permission to contribute to nanobind).

> which may cause friction for some users/developers

🤷‍♂️

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


More information about the Mlir-commits mailing list