[PATCH] D51969: [AMDGPU] Add an AMDGPU specific atomic optimizer.

Neil Henning via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 8 04:49:05 PDT 2018


sheredom updated this revision to Diff 168643.
sheredom added a comment.

Rebased ontop of tip to get the IRBuilder change in https://reviews.llvm.org/D52087, and incorporate the requested changes by @nhaehnle resulting from that.


https://reviews.llvm.org/D51969

Files:
  lib/Target/AMDGPU/AMDGPU.h
  lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  lib/Target/AMDGPU/CMakeLists.txt
  test/CodeGen/AMDGPU/atomic_load_add.ll
  test/CodeGen/AMDGPU/atomic_load_sub.ll
  test/CodeGen/AMDGPU/atomic_optimizations_buffer.ll
  test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll
  test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
  test/CodeGen/AMDGPU/atomic_optimizations_raw_buffer.ll
  test/CodeGen/AMDGPU/atomic_optimizations_struct_buffer.ll
  test/CodeGen/AMDGPU/global_atomics.ll
  test/CodeGen/AMDGPU/global_atomics_i64.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.buffer.atomic.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.atomic.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.atomic.ll
  test/CodeGen/AMDGPU/local-atomics.ll
  test/CodeGen/AMDGPU/local-atomics64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51969.168643.patch
Type: text/x-patch
Size: 70588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181008/fe9c0f9a/attachment.bin>


More information about the llvm-commits mailing list