[Mlir-commits] [mlir] add IntegerLikeTypeInterface to enable out-of-tree uses of built-in attributes that otherwise force integer types (PR #137061)
Jeremy Kun
llvmlistbot at llvm.org
Mon Jun 2 11:30:15 PDT 2025
j2kun wrote:
I feel there is still something I'd like to do here, but I'm currently blocked on not having a plan to move forward that folks agree on. The options seem to be:
- Proceed but rename/rework this interface and ensure it's clearly scoped to storage/parsing/printing
- Make a new concrete attribute (`IntLikeElementsAttr` `IntLikeAttr`) that allows more permissive types (anything that has integer storage) but avoids overlap with other attributes that may expect specific semantics.
https://github.com/llvm/llvm-project/pull/137061
More information about the Mlir-commits
mailing list