// RUN: mlir-opt %s --finalize-memref-to-llvm | \ // RUN: mlir-cpu-runner -e entry -entry-point-result=void // // Code should not crash on the complex32 sparse constant. // module attributes {llvm.data_layout = ""} { memref.global "private" constant @"__constant_32xcomplex_0" : memref<32xcomplex> = sparse<[[1], [28], [31]], [(1.000000e+00,0.000000e+00), (2.000000e+00,0.000000e+00), (3.000000e+00,0.000000e+00)] > {alignment = 128 : i64} llvm.func @entry() { %0 = memref.get_global @"__constant_32xcomplex_0" : memref<32xcomplex> llvm.return } }