diff options
author | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2024-06-13 11:45:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-13 11:45:39 +0100 |
commit | 933d6be8e8c4a81f6409f4daaf704e7f363c6508 (patch) | |
tree | b17cf471070db4f18e9145b571686ccb8056bdb5 /llvm/unittests/ProfileData/CoverageMappingTest.cpp | |
parent | 5563d914a776e11c22fa6f9617e8cb6c46e977cf (diff) | |
download | llvm-933d6be8e8c4a81f6409f4daaf704e7f363c6508.zip llvm-933d6be8e8c4a81f6409f4daaf704e7f363c6508.tar.gz llvm-933d6be8e8c4a81f6409f4daaf704e7f363c6508.tar.bz2 |
[FMV][compiler-rt] Fix cpu features initialization. (#95149)
To detect features we either use HWCAPs or directly extract system
register bitfields and compare with a value. In many cases equality
comparisons give wrong results for example FEAT_SVE is not set if SVE2
is available (see the issue #93651). I am also making the access to
__aarch64_cpu_features atomic.
The corresponding PR for the ACLE specification is
https://github.com/ARM-software/acle/pull/322.
Diffstat (limited to 'llvm/unittests/ProfileData/CoverageMappingTest.cpp')
0 files changed, 0 insertions, 0 deletions