[PATCH] D90135: [VE] Support atomic load

Kazushi Marukawa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 26 01:07:08 PDT 2020


kaz7 created this revision.
kaz7 added reviewers: simoll, k-ishizaka.
kaz7 added projects: LLVM, VE.
Herald added subscribers: llvm-commits, jfb, hiraditya.
kaz7 requested review of this revision.

Support atomic load instruction and add a regression test.
VE uses release consitency, so need to insert fence around
atomic instructions.  This patch enable AtomicExpandPass
and use emitLeadingFence and emitTrailingFence mechanism
for such purpose.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90135

Files:
  llvm/lib/Target/VE/VEISelLowering.cpp
  llvm/lib/Target/VE/VEISelLowering.h
  llvm/lib/Target/VE/VEInstrInfo.td
  llvm/lib/Target/VE/VETargetMachine.cpp
  llvm/test/CodeGen/VE/atomic_load.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90135.300591.patch
Type: text/x-patch
Size: 36260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201026/aaf4959c/attachment.bin>


More information about the llvm-commits mailing list