[llvm] [LV] Vectorize selecting last IV of min/max element. (PR #141431)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 19 07:11:05 PST 2025
================
@@ -8435,9 +8453,12 @@ VPlanPtr LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(
VPRecipeBase *Recipe =
RecipeBuilder.tryToCreateWidenRecipe(SingleDef, Range);
- if (!Recipe)
+ if (!Recipe) {
+ if (isa<VPPhi>(SingleDef))
+ continue;
----------------
fhahn wrote:
also not needed in the latest version, removed thanks
https://github.com/llvm/llvm-project/pull/141431
More information about the llvm-commits
mailing list