[Mlir-commits] [mlir] [MLIR][Python] Remove pybind workaround for not throwing IndexError (PR #174139)

Stella Laurenzo llvmlistbot at llvm.org
Thu Jan 1 11:40:11 PST 2026


stellaraccident wrote:

I think that workaround predated the switch to nanobind by a long time, and I've but tracked the evolution recently. 

Iirc, this exception was showing up in hot paths of Jax IR processing. But that was many years ago and I don't have any access/insights beyond that. I think the original performance issue was reported by @hawkinsp 

I have no objection to modernizing this.

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


More information about the Mlir-commits mailing list