[llvm] [LV] Vectorize conditional scalar assignments (PR #158088)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 21 05:32:56 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);
----------------
fhahn wrote:
Can this be moved next to the other transform handling reductions, `handleMaxMinNumReductions` and the names aligned?
https://github.com/llvm/llvm-project/pull/158088
More information about the llvm-commits
mailing list