[Mlir-commits] [mlir] [MLIR][Presburger] Implement function to evaluate the number of terms in a generating function. (PR #78078)

Arjun P llvmlistbot at llvm.org
Sun Jan 21 12:21:22 PST 2024


================
@@ -114,9 +122,46 @@ QuasiPolynomial QuasiPolynomial::simplify() {
         });
     if (product_is_zero)
       continue;
+
+    // Now, we know the term is nonzero.
+
+    // We now eliminate the affine functions which are constant
+    // by integrating them into the coefficients.
----------------
Superty wrote:

integrating is a bit ambiguous.., "merging" is good

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


More information about the Mlir-commits mailing list