[Mlir-commits] [mlir] [mlir][LLVM] handle ArrayAttr for constant array of structs (PR #139724)

Tobias Gysi llvmlistbot at llvm.org
Tue May 13 07:25:05 PDT 2025


https://github.com/gysit commented:

There have been multiple gradual additions to constant operation in the past and I wonder if it would be worth to try to come up with some alternative modeling for such large constants. 

Do you need the full flexibility of this PR or are you mainly interested in a solution of arrays of structs? If it is the later, I would favor making the PR more restrictive to only support what we need.

Also note that the doc string of the constant operation well need to be update if we extend the supported element types.

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


More information about the Mlir-commits mailing list