[llvm] [LV] Move isCandidateForEpilogueVec to LoopVectorizationPlanner.cpp (NFC). (PR #195268)
Hassnaa Hamdi via llvm-commits
llvm-commits at lists.llvm.org
Fri May 1 07:41:30 PDT 2026
================
@@ -618,3 +619,61 @@ void VFSelectionContext::collectInLoopReductions() {
<< " reduction for phi: " << *Phi << "\n");
}
}
+
+/// Returns true if the VPlan contains header phi recipes that are not currently
+/// supported for epilogue vectorization.
+static bool hasUnsupportedHeaderPhiRecipe(VPlan &Plan) {
----------------
hassnaaHamdi wrote:
I think this function is vplan-related ? should it be moved to the vplan instead of the planner ?
https://github.com/llvm/llvm-project/pull/195268
More information about the llvm-commits
mailing list