[Mlir-commits] [mlir] [mlir] Return null from DenseElementsAttr::get on unsupported attribute types (PR #181159)

Jueon Park llvmlistbot at llvm.org
Thu Feb 12 07:15:51 PST 2026


================
@@ -398,6 +398,19 @@ func.func @extract_from_elements_complex_f() -> tensor<3xcomplex<f32>> {
 
 // -----
 
+// Ensure tensor.from_elements with poison values doesn't crash (issue #178209).
----------------
JueonPark wrote:

I applied this on 8f88f64f5bc3bd3bd8d96de0fdabe8ed4b7aaaf1 .

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


More information about the Mlir-commits mailing list