[Mlir-commits] [mlir] [mlir][py] better support for arith.constant construction (PR #83259)

Martin Paul Lücke llvmlistbot at llvm.org
Tue Mar 5 02:47:51 PST 2024


https://github.com/martin-luecke approved this pull request.

LGTM

Do you think it makes sense to provide additional overloads where the result type is inferred from the type of the 'array' value? 

e.g 'arith.constant(array("i", [1,2,3,4]))' could produce a value of type 'vector<4xi32>'.

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


More information about the Mlir-commits mailing list