[llvm] [LV] Vectorize uncountable early exit store loops with combined conditions (PR #205109)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 17 07:52:51 PDT 2026


================
@@ -1754,6 +1768,13 @@ bool LoopVectorizationLegality::isVectorizableEarlyExitLoop() {
     }
   }
 
+  // We're only handling combined exit conditions via masking at present, which
+  // is used for loops with side effects.
+  // TODO: Support readonly loops with combined exit conditions.
+  // TODO: Decouple style from the presence of side effects.
----------------
sdesmalen-arm wrote:

Can you create a patch for that? That would make writing tests easier as well. 

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


More information about the llvm-commits mailing list