[llvm] [LoopVectorize] Add support for vectorisation of more early exit loops (PR #88385)
Kiran Chandramohan via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 24 04:19:32 PDT 2024
================
@@ -2569,7 +2606,10 @@ bool LoopAccessInfo::analyzeLoop(AAResults *AA, LoopInfo *LI,
LLVM_DEBUG(
dbgs() << "LAA: A loop annotated parallel, ignore memory dependency "
<< "checks.\n");
- return true;
+ if (!UncountableExitingBlocks.size())
+ return true;
+ else
+ CanVecMem = true;
----------------
kiranchandramohan wrote:
Nit: else after return.
https://github.com/llvm/llvm-project/pull/88385
More information about the llvm-commits
mailing list