diff options
author | Patrick O'Neill <patrick@rivosinc.com> | 2023-08-10 15:58:19 +0100 |
---|---|---|
committer | Alex Bradbury <asb@igalia.com> | 2023-08-10 15:59:06 +0100 |
commit | fcad2bbcfc1f0acaa91fe03b71ff069975f80c8e (patch) | |
tree | 34c45c15db3980cb7e4744285e7850e40c8f07d0 /clang/unittests/libclang/LibclangTest.cpp | |
parent | 0696a531c201327988cbc2fc5320c61aa3a890bf (diff) | |
download | llvm-fcad2bbcfc1f0acaa91fe03b71ff069975f80c8e.zip llvm-fcad2bbcfc1f0acaa91fe03b71ff069975f80c8e.tar.gz llvm-fcad2bbcfc1f0acaa91fe03b71ff069975f80c8e.tar.bz2 |
[RISC-V] Add proposed mapping for Ztso
Currently LLVM emits Ztso code for fences, loads, and stores (behind an
experimental flag) [1]. This patch updates the mapping and implements
support for LR/SC and AMO ops. This updated mapping is compatible with
the RVWMO ABI present in the psABI. Additional context can be found in
the psABI pull request [2].
[1] https://reviews.llvm.org/D143076
[2] https://github.com/riscv-non-isa/riscv-elf-psabi-doc/pull/391
Differential Revision: https://reviews.llvm.org/D155517
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions