[Mlir-commits] [mlir] [MLIR][Presburger][WIP] Implement vertex enumeration and chamber decomposition for polytope generating function computation. (PR #78987)

Arjun P llvmlistbot at llvm.org
Tue Jan 23 16:43:03 PST 2024


================
@@ -711,6 +711,15 @@ class IntegerRelation {
   /// return `this \ set`.
   PresburgerRelation subtract(const PresburgerRelation &set) const;
 
+  // Remove equalities which have only zero coefficients.
+  void removeTrivialEqualities();
+
+  // Verify whether the relation is full-dimensional, i.e.,
+  // no equality holds for the relation.
+  // If there are no variables, it always returns true.
----------------
Superty wrote:

nit: you can put an empty line to separate the clarifications from the first two lines, which is the main description 

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


More information about the Mlir-commits mailing list