diff options
author | Simon Tatham <simon.tatham@arm.com> | 2025-07-22 08:53:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-22 08:53:45 +0100 |
commit | 34f59d79209268eca9c63ccc7646128f2dc52fe3 (patch) | |
tree | 4a20cdbe3b7c53ed3d25bc894a5ba66ee794c820 /clang/lib/AST/ByteCode/Program.cpp | |
parent | a7a1df8f72ac6e3a68ec53584107be6542d6666b (diff) | |
download | llvm-34f59d79209268eca9c63ccc7646128f2dc52fe3.zip llvm-34f59d79209268eca9c63ccc7646128f2dc52fe3.tar.gz llvm-34f59d79209268eca9c63ccc7646128f2dc52fe3.tar.bz2 |
[Clang][ARM] Fix __ARM_FEATURE_LDREX on Armv8-M (#149538)
The Armv8-M architecture doesn't have the LDREXD and STREXD
instructions, for exclusive load/store of a 64-bit quantity split across
two registers. But the `__ARM_FEATURE_LDREX` macro was set to a value
that claims it does, because the case for Armv8 was missing a check for
M profile.
The Armv7 case got it right, so I've just made the two cases the same.
Diffstat (limited to 'clang/lib/AST/ByteCode/Program.cpp')
0 files changed, 0 insertions, 0 deletions