[PATCH] D149488: [RISCV] Use AMOSWAP for 32 and 64-bit atomic stores

Paul Kirth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 08:20:24 PDT 2023


paulkirth updated this revision to Diff 528877.
paulkirth added a comment.

Rebase and adpat code to use EnableSeqCstFence.

I should be able to test this on some existing hardware against the existing version and the trailing fence


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149488/new/

https://reviews.llvm.org/D149488

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/test/CodeGen/RISCV/atomic-load-store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149488.528877.patch
Type: text/x-patch
Size: 5733 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230606/dffbf271/attachment.bin>


More information about the llvm-commits mailing list