[Mlir-commits] [mlir] [mlir] Use llvm::append_range (NFC) (PR #135722)
Kazu Hirata
llvmlistbot at llvm.org
Mon Apr 14 22:13:41 PDT 2025
================
@@ -80,12 +80,10 @@ class GeneratingFunction {
sumSigns.append(gf.signs);
std::vector<ParamPoint> sumNumerators = numerators;
- sumNumerators.insert(sumNumerators.end(), gf.numerators.begin(),
- gf.numerators.end());
+ llvm::append_range(sumNumerators, gf.numerators);
std::vector<std::vector<Point>> sumDenominators = denominators;
----------------
kazutakahirata wrote:
@kuhar The constructor of `GeneratingFunction` expects `std::vector<ParamPoint>`. I'd need to update a few places to use `SmallVector<ParamPoint>` here.
https://github.com/llvm/llvm-project/pull/135722
More information about the Mlir-commits
mailing list