[llvm] [LoopVectorize] Add support for vectorisation of more early exit loops (PR #88385)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 23 23:39:04 PDT 2024
================
@@ -677,9 +678,14 @@ class VPBlockBase {
class VPLiveOut : public VPUser {
PHINode *Phi;
+ /// Is this a live-out value specifically for an early exit from the vector
+ /// loop? If so, it needs handling specially.
+ bool EarlyExit;
----------------
fhahn wrote:
Why is this needed? Would it be sufficient to record the predecessor as done in #94760? This would be more general in handling live-outs in different VPBBs
https://github.com/llvm/llvm-project/pull/88385
More information about the llvm-commits
mailing list