[llvm] [LV] Disable interleaving via hints for uncountable early exit loops (PR #145877)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 26 05:53:59 PDT 2025
================
@@ -10101,6 +10101,13 @@ bool LoopVectorizePass::processLoop(Loop *L) {
// Get user vectorization factor and interleave count.
ElementCount UserVF = Hints.getWidth();
unsigned UserIC = Hints.getInterleave();
+ if (LVL.hasUncountableEarlyExit() && UserIC != 1 &&
+ !VectorizerParams::isInterleaveForced()) {
----------------
paulwalker-arm wrote:
Fair enough.
https://github.com/llvm/llvm-project/pull/145877
More information about the llvm-commits
mailing list