[PATCH] D141748: [WoA] Use fences for sequentially consistent stores/writes

Usman Nadeem via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 16:02:05 PST 2023


mnadeem updated this revision to Diff 490328.
mnadeem added a comment.

- Use fewer barriers and existing acquire/release instruction sequence.
- Add a shouldInsertTrailingFenceForAtomicStore() function.


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

https://reviews.llvm.org/D141748

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/AtomicExpandPass.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/test/CodeGen/AArch64/atomic-ops-msvc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141748.490328.patch
Type: text/x-patch
Size: 8686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230119/d6a6fd2c/attachment.bin>


More information about the llvm-commits mailing list