[llvm] [LoopVectorizer][AArch64] Add support for partial reduce subtraction (PR #123636)

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 29 03:19:32 PST 2025


================
@@ -8697,8 +8697,9 @@ void VPRecipeBuilder::collectScaledReductions(VFRange &Range) {
 
   // Build up a set of partial reduction bin ops for efficient use checking.
   SmallSet<User *, 4> PartialReductionBinOps;
-  for (const auto &[PartialRdx, _] : PartialReductionChains)
+  for (const auto &[PartialRdx, _] : PartialReductionChains) {
     PartialReductionBinOps.insert(PartialRdx.BinOp);
+  }
----------------
SamTebbs33 wrote:

I don't think we need this change.

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


More information about the llvm-commits mailing list