Issue 56428
Summary Execution engine crash on complex code using "sparse" encoding
Labels mlir:sparse, mlir
Assignees aartbik
Reporter aartbik
    The execution engine crashes on the LLVM IR generated by MLIR lowering on IR that uses a "sparse" encoding of a complex32 buffer. I could narrow it down to the following reproducer:

module attributes {llvm.data_layout = ""} {

  memref.global "private" constant @"__constant_32xcomplex<f32>_0" : memref<32xcomplex<f32>> =
     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<f32>_0" : memref<32xcomplex<f32>>
     llvm.return
  }
}
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to