[Mlir-commits] [mlir] [MLIR][Presburger] Implement function to evaluate the number of terms in a generating function. (PR #78078)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Jan 17 01:07:31 PST 2024
================
@@ -245,3 +245,254 @@ QuasiPolynomial mlir::presburger::detail::getCoefficientInRationalFunction(
}
return coefficients[power].simplify();
}
+
+static std::vector<Fraction> convolution(std::vector<Fraction> a,
+ std::vector<Fraction> b) {
----------------
Abhinav271828 wrote:
We need to resize the vectors before computation, ArrayRef can't do that right?
https://github.com/llvm/llvm-project/pull/78078
More information about the Mlir-commits
mailing list