[Mlir-commits] [mlir] [mlir] Decouple enum generation from attributes, adding EnumInfo and EnumCase (PR #132148)

Maksim Levental llvmlistbot at llvm.org
Thu Mar 27 06:11:55 PDT 2025


makslevental wrote:

> enum binding code in IREE?

nah I doubt it - the handwritten bindings in [compiler/bindings/python/IREECompilerDialectsModule.cpp](https://github.com/makslevental/iree/blob/main/compiler/bindings/python/IREECompilerDialectsModule.cpp#L25-L46) is ... handwritten (so unaffected). Besides that I don't think (don't remember) IREE (or tuner...) is using these autogenerated bindings (`*_enums_gen.py`) and even so I believe (since I trust @krzysz00, though I haven't looked closely) this change won't affect those either - at minimum the in-tree tests here (for the `*_enums_gen.py` bindings) passed so we're probably good.

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


More information about the Mlir-commits mailing list