[llvm] [VPlan] Introduce ComputeReductionResult VPInstruction opcode. (PR #70253)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 1 13:39:33 PST 2024
================
@@ -9034,7 +8894,7 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
VPRecipeBase *Cur = Worklist[I];
for (VPUser *U : Cur->getVPSingleValue()->users()) {
auto *UserRecipe = dyn_cast<VPRecipeBase>(U);
- if (!UserRecipe)
+ if (!UserRecipe || UserRecipe == FinalReductionResult)
----------------
fhahn wrote:
At this point yes, updated to use `cast`, thanks!
https://github.com/llvm/llvm-project/pull/70253
More information about the llvm-commits
mailing list