[Mlir-commits] [mlir] [mlir][IR] Generalize`DenseElementsAttr` to custom element types (PR #179122)
Matthias Springer
llvmlistbot at llvm.org
Mon Feb 9 00:23:00 PST 2026
matthias-springer wrote:
`1 : i32` is the assembly format of the `IntegerAttr`. It's redundant in this case, but you could have different types that use `IntegerAttr`, e.g., `dense<tensor<3x!my_project.my_int> : [1 : i32, 2 : i32, 3 : i32]>`. In the future, we could also introduce a "denser" custom syntax (see "Future Extensions" on the RFC).
https://github.com/llvm/llvm-project/pull/179122
More information about the Mlir-commits
mailing list