[llvm] [LV] Vectorize early exit loops with stores using masking (PR #178454)
Graham Hunter via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 8 08:20:23 PDT 2026
================
@@ -4334,6 +4324,11 @@ bool LoopVectorizationPlanner::isCandidateForEpilogueVectorization(
if (OrigLoop->getExitingBlock() != OrigLoop->getLoopLatch())
return false;
+ // Loops with uncountable exits and side effects (e.g. stores) are not yet
+ // supported for epilogue vectorization.
+ if (Legal->hasUncountableExitWithSideEffects())
----------------
huntergr-arm wrote:
Removed, thanks.
https://github.com/llvm/llvm-project/pull/178454
More information about the llvm-commits
mailing list