[Mlir-commits] [mlir] [MLIR][Presburger] Fix Gaussian elimination (PR #164437)
Arjun P
llvmlistbot at llvm.org
Mon Dec 1 08:37:29 PST 2025
================
@@ -1112,15 +1112,28 @@ unsigned IntegerRelation::gaussianEliminateVars(unsigned posStart,
return posLimit - posStart;
}
+static std::optional<unsigned>
+findEqualityWithNonZeroAfterRow(IntegerRelation &rel, unsigned fromRow,
+ unsigned colIdx) {
+ assert(fromRow < rel.getNumVars() && colIdx < rel.getNumCols() &&
----------------
Superty wrote:
I'm confused why `fromRow < rel.getNumVars` should hold?
https://github.com/llvm/llvm-project/pull/164437
More information about the Mlir-commits
mailing list