[llvm] [LV] Add support for partial alias masking with tail folding (PR #182457)

Gaƫtan Bossu via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 17 04:07:50 PDT 2026


================
@@ -4432,6 +4503,13 @@ VectorizationFactor LoopVectorizationPlanner::selectEpilogueVectorizationFactor(
     return Result;
   }
 
+  if (CM.maskPartialAliasing()) {
+    LLVM_DEBUG(
+        dbgs()
+        << "LEV: Epilogue vectorization not supported with alias masking");
----------------
gbossu wrote:

Nit: Maybe leave a comment in the code why that is?

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


More information about the llvm-commits mailing list