[all-commits] [llvm/llvm-project] 9a9b8b: [AArch64] Allow unrolling of scalar epilogue loops...
John Brawn via All-commits
all-commits at lists.llvm.org
Thu Jul 31 03:04:03 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9a9b8b7d1c3e38db00d137518ee52a2d1c0c7c1c
https://github.com/llvm/llvm-project/commit/9a9b8b7d1c3e38db00d137518ee52a2d1c0c7c1c
Author: John Brawn <john.brawn at arm.com>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/test/Transforms/LoopUnroll/AArch64/vector.ll
Log Message:
-----------
[AArch64] Allow unrolling of scalar epilogue loops (#151164)
#147420 changed the unrolling preferences to permit unrolling of
non-auto vectorized loops by checking for the isvectorized attribute,
however when a loop is vectorized this attribute is put on both the
vector loop and the scalar epilogue, so this change prevented the scalar
epilogue from being unrolled.
Restore the previous behaviour of unrolling the scalar epilogue by
checking both for the isvectorized attribute and vector instructions in
the loop.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list