[PATCH] D47589: [RISCV] Add codegen support for atomic load/stores with RV32A

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 7 07:06:36 PDT 2018


asb updated this revision to Diff 150326.
asb edited the summary of this revision.
asb added a comment.

This patch now enabled lowering of 8, 16, and 32-bit atomic load/stores. We no longer rely on https://reviews.llvm.org/D47553, as the follow-up patch to lower atomicrmw supports partword and native size atomics.


https://reviews.llvm.org/D47589

Files:
  lib/Target/RISCV/RISCVISelLowering.cpp
  lib/Target/RISCV/RISCVISelLowering.h
  lib/Target/RISCV/RISCVInstrInfo.td
  lib/Target/RISCV/RISCVInstrInfoA.td
  test/CodeGen/RISCV/atomic-fence.ll
  test/CodeGen/RISCV/atomic-load-store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47589.150326.patch
Type: text/x-patch
Size: 17045 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180607/ffbba2e1/attachment.bin>


More information about the llvm-commits mailing list