[llvm] [LV] Vectorize conditional scalar assignments (PR #158088)
Graham Hunter via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 26 09:13:34 PST 2025
================
@@ -8566,6 +8576,10 @@ VPlanPtr LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(
*Plan, Builder))
return nullptr;
+ // Create whole-vector selects for find-last recurrences.
+ VPlanTransforms::runPass(VPlanTransforms::convertFindLastRecurrences, *Plan,
+ RecipeBuilder);
----------------
huntergr-arm wrote:
done. Required a few changes since the recipes are different at that point in construction.
https://github.com/llvm/llvm-project/pull/158088
More information about the llvm-commits
mailing list