[Mlir-commits] [mlir] [mlir][sparse] Fix crash in sparsification when disjunctive op has sparse operand (PR #184599)
Mehdi Amini
llvmlistbot at llvm.org
Wed Mar 4 15:01:04 PST 2026
================
@@ -1402,7 +1402,6 @@ Merger::buildTensorExp(linalg::GenericOp op, Value v) {
// is sparse. For a disjunctive operation, it yields a "sparse" result if
// all operands are sparse.
bool conjSpVals = xSpVals || ySpVals;
- bool disjSpVals = xSpVals && ySpVals;
----------------
joker-eph wrote:
Yeah it is... :(
I'm absolutely not confident about it, and I was surprised no test failed. I was expecting one to provide a counter example :)
https://github.com/llvm/llvm-project/pull/184599
More information about the Mlir-commits
mailing list