[llvm] [LV] Add initial legality checks for ee loops with stores (PR #145663)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 18 03:26:39 PDT 2025


================
@@ -407,6 +407,14 @@ class LoopVectorizationLegality {
     return UncountableExitingBB;
   }
 
+  /// Returns true if this is an early exit loop with state-changing or
+  /// potentially-faulting operations and the IR representing the condition
+  /// for the uncounted exit must be determined before any of the state changes
----------------
fhahn wrote:

```suggestion
  /// for the uncountable exit must be determined before any of the state changes
```

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


More information about the llvm-commits mailing list