[llvm] [LV] Initial support for stores in early exit loops (PR #137774)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Fri May 9 07:28:00 PDT 2025
================
@@ -1823,6 +1930,8 @@ bool LoopVectorizationLegality::canVectorize(bool UseVPlanNativePath) {
} else {
if (!isVectorizableEarlyExitLoop()) {
UncountableEdge = std::nullopt;
+ EarlyExitLoad = std::nullopt;
----------------
david-arm wrote:
Feels like a good time to add a helper function to reset these variables perhaps?
https://github.com/llvm/llvm-project/pull/137774
More information about the llvm-commits
mailing list