[llvm] [LoopVectorize] Enable vectorisation of early exit loops with live-outs (PR #120567)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 17 06:38:06 PST 2025
================
@@ -407,6 +407,11 @@ class LoopVectorizationLegality {
/// Returns the destination of an uncountable early exiting block.
BasicBlock *getUncountableEarlyExitBlock() const {
+ if (!HasUncountableEarlyExit) {
----------------
david-arm wrote:
I've left this code unchanged for now, since it's being dealt with in https://github.com/llvm/llvm-project/pull/123219. If that patch lands first I'll rebase this one.
https://github.com/llvm/llvm-project/pull/120567
More information about the llvm-commits
mailing list