[all-commits] [llvm/llvm-project] 712c21: [AArch64] Enable unrolling for small multi-exit lo...
David Sherwood via All-commits
all-commits at lists.llvm.org
Wed Apr 9 02:34:48 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 712c21336fa891f5b32254dd51b024178d61befb
https://github.com/llvm/llvm-project/commit/712c21336fa891f5b32254dd51b024178d61befb
Author: David Sherwood <david.sherwood at arm.com>
Date: 2025-04-09 (Wed, 09 Apr 2025)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/test/Transforms/LoopUnroll/AArch64/apple-unrolling-multi-exit.ll
A llvm/test/Transforms/LoopUnroll/AArch64/unrolling-multi-exit.ll
Log Message:
-----------
[AArch64] Enable unrolling for small multi-exit loops (#131998)
It can be highly beneficial to unroll small, two-block search loops
that look for a value in an array. An example of this would be
something that uses std::find to find a value in libc++. Older
versions of std::find in the libstdc++ headers are manually unrolled
in the source code, but this might change in newer releases where
the compiler is expected to either vectorise or unroll itself.
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