[Mlir-commits] [mlir] [mlir-python] Fix duplicate EnumAttr builder registration across dialects. (PR #187191)

Maksim Levental llvmlistbot at llvm.org
Tue Mar 17 22:57:21 PDT 2026


makslevental wrote:

Note the PR could be simplified by going with "last wins" instead of "first wins" in which case we could remove `allow_existing` and just set `replace=True` on the `EnumInfo`-generated attrs. I don't have a strong opinion on this 🤷‍♂️

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


More information about the Mlir-commits mailing list