[PATCH] D138481: [LoongArch] Add atomic ordering information for binary atomic operations

Gong LingQin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 22 01:25:00 PST 2022


gonglingqin created this revision.
gonglingqin added reviewers: xen0n, xry111, SixWeining, wangleiat, MaskRay, XiaodongLoong.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
gonglingqin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch also implements not emit fence in atomic binary operation
when AtomicOrdering is monotonic. The processing of other levels of
AtomicOrdering will be added later.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138481

Files:
  llvm/lib/Target/LoongArch/LoongArchExpandAtomicPseudoInsts.cpp
  llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
  llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138481.477103.patch
Type: text/x-patch
Size: 41115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221122/2f887a52/attachment.bin>


More information about the llvm-commits mailing list