Skip to content

Execution engine crash on complex code using "sparse" encoding #56428

@aartbik

Description

@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_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
}
}

Metadata

Metadata

Assignees

Labels

mlir:coreMLIR Core Infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions