[llvm] [LV] Add tests for excluded cases in epiloge tail-folding (PR #217364)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 24 05:57:25 PDT 2026


================
@@ -7223,23 +7225,64 @@ getEpilogueTailLowering(const LoopVectorizationCostModel &MainCM, const Loop *L,
   if (!EnableEpilogueVectorization) {
     reportVectorizationInfo(
         "Options conflict, epilogue vectorization is disallowed while "
-        "epilogue tail-folding allowed!\n",
+        "epilogue tail-folding allowed!",
         "UnsupportedEpilogueTailFoldingPolicy", ORE, L);
     return CM_EpilogueAllowed;
   }
 
+  if (!Hints.getWidth() || !hasForcedEpilogueVF()) {
+    reportVectorizationInfo("For now, Epilogue tail-folding can't be "
----------------
david-arm wrote:

nit: I think this should be 'epilogue' instead of 'Epilogue'.

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


More information about the llvm-commits mailing list