[all-commits] [llvm/llvm-project] 7aa3ca: [NVPTX] Enable lowering of atomics on local memory

William Moses via All-commits all-commits at lists.llvm.org
Mon Apr 26 17:13:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7aa3cad46ac3258f9b069fbdaad8b73e280ebfbb
      https://github.com/llvm/llvm-project/commit/7aa3cad46ac3258f9b069fbdaad8b73e280ebfbb
  Author: William S. Moses <gh at wsmoses.com>
  Date:   2021-04-26 (Mon, 26 Apr 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/LowerAtomic.h
    M llvm/lib/Target/NVPTX/CMakeLists.txt
    A llvm/lib/Target/NVPTX/NVPTXAtomicLower.cpp
    A llvm/lib/Target/NVPTX/NVPTXAtomicLower.h
    M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
    M llvm/lib/Transforms/Scalar/LowerAtomic.cpp
    A llvm/test/CodeGen/NVPTX/atomic-lower-local.ll

  Log Message:
  -----------
  [NVPTX] Enable lowering of atomics on local memory

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.

Differential Revision: https://reviews.llvm.org/D98650




More information about the All-commits mailing list