[llvm] [LV] Support argmin/argmax with strict predicates. (PR #170223)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 19 01:11:27 PST 2026


================
@@ -4360,11 +4360,14 @@ VectorizationFactor LoopVectorizationPlanner::selectVectorizationFactor() {
 }
 #endif
 
-/// Returns true if the VPlan contains a VPReductionPHIRecipe with
-/// FindLast recurrence kind.
-static bool hasFindLastReductionPhi(VPlan &Plan) {
+/// Returns true if the VPlan contains header phi recipes that are not currently
+/// supported for epilogue vectorization.
+static bool hasUnsupportedHeaderPhiRecipe(VPlan &Plan) {
----------------
fhahn wrote:

Done thanks

https://github.com/llvm/llvm-project/pull/170223


More information about the llvm-commits mailing list