[llvm] [AArch64] Unrolling of loops with vector instructions. (PR #147420)
Ahmad Yasin via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 10 08:10:07 PDT 2025
================
@@ -4872,15 +4872,15 @@ void AArch64TTIImpl::getUnrollingPreferences(
// Disable partial & runtime unrolling on -Os.
UP.PartialOptSizeThreshold = 0;
+ // No need to unroll auto-vectorized loops that were interleaved
+ if (findStringMetadataForLoop(L, "llvm.loop.isvectorized") &&
+ findStringMetadataForLoop(L, "llvm.loop.interleave.count"))
+ return;
----------------
ayasin-a wrote:
Reverted.
https://github.com/llvm/llvm-project/pull/147420
More information about the llvm-commits
mailing list