[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:43:34 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:

Could you also use the Doxygen syntax `\returns` 

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


More information about the llvm-commits mailing list