[Mlir-commits] [mlir] [mlir][python] Add bindings for mlirDenseElementsAttrGet (PR #91389)

Maksim Levental llvmlistbot at llvm.org
Fri May 17 09:26:30 PDT 2024


makslevental wrote:

> Out of curiosity, what was the intended purpose of mlirDenseElementsAttrGet if creating attributes is expensive?

ftynse is talking about the many element gets (the `FloatAttr.get`s you have in your example) not the single `mlirDenseElementsAttrGet`.

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


More information about the Mlir-commits mailing list