diff --git a/mlir/lib/Analysis/PresburgerSet.cpp b/mlir/lib/Analysis/PresburgerSet.cpp --- a/mlir/lib/Analysis/PresburgerSet.cpp +++ b/mlir/lib/Analysis/PresburgerSet.cpp @@ -297,7 +297,6 @@ /// Return true if all the sets in the union are known to be integer empty, /// false otherwise. bool PresburgerSet::isIntegerEmpty() const { - assert(nSym == 0 && "isIntegerEmpty is intended for non-symbolic sets"); // The set is empty iff all of the disjuncts are empty. for (const FlatAffineConstraints &fac : flatAffineConstraints) { if (!fac.isIntegerEmpty()) @@ -307,7 +306,6 @@ } bool PresburgerSet::findIntegerSample(SmallVectorImpl &sample) { - assert(nSym == 0 && "findIntegerSample is intended for non-symbolic sets"); // A sample exists iff any of the disjuncts contains a sample. for (const FlatAffineConstraints &fac : flatAffineConstraints) { if (Optional> opt = fac.findIntegerSample()) {