[llvm] [LoopVectorize] Enable vectorisation of early exit loops with live-outs (PR #120567)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 6 05:30:38 PST 2025
================
@@ -3662,6 +3665,13 @@ class VPRegionBlock : public VPBlockBase {
/// VPRegionBlock.
VPBlockBase *Exiting;
+ /// Hold the Early Exit block of the SEME region, if one exists.
+ VPBasicBlock *EarlyExit;
+
+ /// If one exists, this keeps track of the vector early mask that triggered
+ /// the early exit.
+ VPValue *VectorEarlyExitCond;
+
/// An indicator whether this region is to generate multiple replicated
----------------
david-arm wrote:
I'm happy to look into this, although I'm not sure what you mean by forcing a wide IV? I'll take a look at https://github.com/llvm/llvm-project/pull/112145 as well - do you think this is close to being merged?
https://github.com/llvm/llvm-project/pull/120567
More information about the llvm-commits
mailing list