[llvm] [LoopVectorize] Add support for vectorisation of more early exit loops (PR #88385)
Graham Hunter via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 24 02:31:18 PDT 2024
================
@@ -8604,6 +8604,24 @@ ScalarEvolution::BackedgeTakenInfo::getExact(const Loop *L, ScalarEvolution *SE,
return SE->getUMinFromMismatchedTypes(Ops, /* Sequential */ true);
}
+void ScalarEvolution::BackedgeTakenInfo::getCountableExitingBlocks(
+ const Loop *L, ScalarEvolution *SE,
+ SmallVector<BasicBlock *, 4> *Blocks) const {
+ // All exiting blocks we have collected must dominate the only backedge.
----------------
huntergr-arm wrote:
How is this dominance requirement checked?
https://github.com/llvm/llvm-project/pull/88385
More information about the llvm-commits
mailing list