diff options
author | Paul Kirth <paulkirth@google.com> | 2024-04-26 01:20:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-25 16:20:52 -0700 |
commit | 9221f3af8f832d990be986c05d964ad37e5a2356 (patch) | |
tree | d343546c247ed27ac4a8e87621c7d6b3b2765e69 /clang/test/Index/annotate-nested-name-specifier.cpp | |
parent | f758bb66e8acfe0daa1725ab4d87ae944a4c53d2 (diff) | |
download | llvm-9221f3af8f832d990be986c05d964ad37e5a2356.zip llvm-9221f3af8f832d990be986c05d964ad37e5a2356.tar.gz llvm-9221f3af8f832d990be986c05d964ad37e5a2356.tar.bz2 |
[RISCV] Support RISCV Atomics ABI attributes (#84597)
This patch adds support for the `atomic_abi` attribute, specifid in
https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#tag_riscv_atomic_abi-14-uleb128version.
The atomics_abi tag merging is conducted as follows:
- UNKNOWN is safe to merge with all other values.
- A6C is compatible with A6S, and results in the A6C ABI.
- A6C is incompatible with A7, and results in an error.
- A6S and A7 are compatible, and merging results in the A7 ABI.
Note: the A7 is not yet supported in either LLVM or in any current
hardware,
and is therefore ommited from attribute generation in
RISCVTargetStreamer.
Diffstat (limited to 'clang/test/Index/annotate-nested-name-specifier.cpp')
0 files changed, 0 insertions, 0 deletions