[llvm] [VPlan] Dispatch to multiple exit blocks via middle blocks. (PR #112138)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 7 07:23:41 PST 2024


================
@@ -1514,6 +1522,27 @@ bool LoopVectorizationLegality::canVectorizeWithIfConvert() {
   return true;
 }
 
+bool LoopVectorizationLegality::canVectorizeEarlyExit() const {
----------------
david-arm wrote:

I think you can also able enable early exit autovec with Transforms/LoopVectorize/single_early_exit.ll

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


More information about the llvm-commits mailing list