diff options
author | David Green <david.green@arm.com> | 2025-02-07 10:16:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-07 10:16:57 +0000 |
commit | 6424abcd6c9c6aa8171c79d0fe0369d3a10da3d5 (patch) | |
tree | 69ba2035025ea0720e5886b2643244dd3038afdc /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 3872e55758a5de035c032a975f244302c3ddacc3 (diff) | |
download | llvm-6424abcd6c9c6aa8171c79d0fe0369d3a10da3d5.zip llvm-6424abcd6c9c6aa8171c79d0fe0369d3a10da3d5.tar.gz llvm-6424abcd6c9c6aa8171c79d0fe0369d3a10da3d5.tar.bz2 |
[AArch64] Enable AvoidLDAPUR for cpu=generic between armv8.4 and armv9.3. (#125261)
As added in #124274, CPUs in this range can suffer from performance
issues with ldapur. As the gain from ldar->ldapr is expected to be
greater than the minor gain from ldapr->ldapur, this opts to avoid the
instruction under the default -mcpu=generic when the -march is less that
armv8.8 / armv9.3.
I renamed AArch64Subtarget::Others to AArch64Subtarget::Generic to be
clearer what it means.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions