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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 06:08:16 PST 2024


================
@@ -1375,6 +1375,17 @@ bool LoopVectorizationLegality::isFixedOrderRecurrence(
 }
 
 bool LoopVectorizationLegality::blockNeedsPredication(BasicBlock *BB) const {
+  // When vectorizing early exits, create predicates for the latch block. The
----------------
fhahn wrote:

Updated, thanks!

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


More information about the llvm-commits mailing list