[llvm] [LoopVectorize] Add support for vectorisation of more early exit loops (PR #88385)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 1 06:22:24 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;
----------------
david-arm wrote:

It looks like that #94760 could take a while to land. I'd prefer not to make this PR dependent on that, unless you are saying that I take a small part of #94760?

https://github.com/llvm/llvm-project/pull/88385


More information about the llvm-commits mailing list