[PATCH] D98650: [NVPTX] Enable lowering of atomics on local memory

William Moses via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 15 11:49:31 PDT 2021


wsmoses created this revision.
wsmoses added a reviewer: jdoerfert.
Herald added subscribers: jfb, hiraditya, mgorny, jholewinski.
wsmoses requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

LLVM does not have valid assembly backends for atomicrmw on local memory. However, as this memory is thread local, we should be able to lower this to the relevant load/store.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98650

Files:
  llvm/lib/Target/NVPTX/CMakeLists.txt
  llvm/lib/Target/NVPTX/NVPTXAtomicLower.cpp
  llvm/lib/Target/NVPTX/NVPTXAtomicLower.h
  llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98650.330748.patch
Type: text/x-patch
Size: 4809 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210315/458f03f5/attachment.bin>


More information about the llvm-commits mailing list