[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
Fri Jan 19 08:36:50 PST 2024


================
@@ -99,6 +99,10 @@ QuasiPolynomial getCoefficientInRationalFunction(unsigned power,
                                                  ArrayRef<QuasiPolynomial> num,
                                                  ArrayRef<Fraction> den);
 
+/// Find the number of terms in the generating function corresponding to
+/// a polytope.
----------------
Superty wrote:

Btw, what will happen if the result is infinite?

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


More information about the Mlir-commits mailing list