[llvm] [NFC][LV] Introduce enums for uncountable exit detail and style (PR #184808)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 11 02:58:43 PDT 2026


================
@@ -77,6 +77,24 @@ typedef unsigned ID;
 
 using VPlanPtr = std::unique_ptr<VPlan>;
 
+// Different methods of handling early exits.
+//
+// For ReadOnlyUncountableExitsInVectorLoop, there are no side effects to worry
+// about, so we can instead process any uncountable exit inside the vector
+// body and branch to an appropriate exit block, matching the behaviour of the
+// scalar loop.
+//
+// For MaskedHandleLastIterationInScalarLoop, all memory operations besides the
----------------
sdesmalen-arm wrote:

```suggestion
// For MaskedHandleLastIterationInScalarLoop, all memory operations other than the
```

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


More information about the llvm-commits mailing list