[llvm] [LV] Add initial legality checks for early exit loops with side effects (PR #145663)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 05:32:09 PDT 2025
================
@@ -407,6 +410,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
----------------
fhahn wrote:
```suggestion
/// potentially-faulting operations and the condition
```
?
https://github.com/llvm/llvm-project/pull/145663
More information about the llvm-commits
mailing list