[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 16:49:42 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:

Actually there is a test failure, I need to look into this...

https://github.com/llvm/llvm-project/pull/184599


More information about the Mlir-commits mailing list