[Mlir-commits] [mlir] [MLIR][Presburger] optimize bound computation by pruning orthogonal constraints (PR #164199)
Arjun P
llvmlistbot at llvm.org
Sun Nov 30 11:48:30 PST 2025
================
@@ -1723,12 +1724,78 @@ std::optional<DynamicAPInt> IntegerRelation::getConstantBoundOnDimSize(
return minDiff;
}
+void IntegerRelation::pruneConstraints(unsigned pos) {
+ llvm::DenseSet<unsigned> relatedCols({pos}), relatedRows;
+
+ // Early quit if constraints is empty.
----------------
Superty wrote:
nit: we usually call this early exit!
https://github.com/llvm/llvm-project/pull/164199
More information about the Mlir-commits
mailing list