[llvm] [VPlan] Introduce ComputeReductionResult VPInstruction opcode. (PR #70253)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 20 12:03:15 PST 2023
================
@@ -9027,6 +8905,8 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
for (VPRecipeBase *CurrentLink : Worklist.getArrayRef().drop_front()) {
VPValue *PreviousLinkV = PreviousLink->getVPSingleValue();
+ if (CurrentLink->getParent()->getParent() != VectorLoopRegion)
+ continue;
----------------
fhahn wrote:
merged the loops and exlucded FinalReductionResult, thanks!
https://github.com/llvm/llvm-project/pull/70253
More information about the llvm-commits
mailing list