[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
Tue Jan 16 16:28:05 PST 2024
================
@@ -59,9 +59,13 @@ class QuasiPolynomial : public PresburgerSpace {
QuasiPolynomial operator*(const QuasiPolynomial &x) const;
QuasiPolynomial operator/(const Fraction x) const;
- // Removes terms which evaluate to zero from the expression.
+ // Removes terms which evaluate to zero and affine functions
+ // which are constant from the expression.
----------------
Superty wrote:
I don't understand what it means to remove constants. Doesn't this change the function represented?
https://github.com/llvm/llvm-project/pull/78078
More information about the Mlir-commits
mailing list