[llvm] [LV][NFC] Refactor structures used to maintain uncountable exit info (PR #123219)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 19 14:22:51 PST 2025
================
@@ -1653,7 +1652,7 @@ bool LoopVectorizationLegality::isVectorizableEarlyExitLoop() {
assert(!TheLoop->contains(Succs[1]));
ExitBlock = Succs[1];
}
- UncountableExitBlocks.push_back(ExitBlock);
+ UncountableEdges.push_back({BB, ExitBlock});
----------------
fhahn wrote:
Simpler to exit here once we hit more than one, now that we only store one?
https://github.com/llvm/llvm-project/pull/123219
More information about the llvm-commits
mailing list