[Mlir-commits] [mlir] [mlir][SparseTensor] Fix crash in SparseTensorEmptyConverter (PR #208913)
Hocky Yudhiono
llvmlistbot at llvm.org
Mon Jul 13 02:27:43 PDT 2026
================
----------------
hockyy wrote:
can we just use this
```mlir
#sparse = #sparse_tensor.encoding<{ map = (d0) -> (d0 : compressed) }>
module {
func.func @main() -> tensor<77xi1, #sparse> {
%0 = tensor.empty() : tensor<77xi1, #sparse>
return %0 : tensor<77xi1, #sparse>
}
}
```
the rest lgtm
https://github.com/llvm/llvm-project/pull/208913
More information about the Mlir-commits
mailing list