[PATCH] D18101: AMDGPU: mark llvm.amdgcn.image.atomic.* as a source of divergence

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 14:47:48 PST 2016


nhaehnle created this revision.
nhaehnle added reviewers: arsenm, tstellarAMD.
nhaehnle added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.

When multiple threads perform an atomic op with the same arguments, they
will usually see different return values.

http://reviews.llvm.org/D18101

Files:
  lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  test/CodeGen/AMDGPU/llvm.amdgcn.image.atomic.divergence.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18101.50479.patch
Type: text/x-patch
Size: 10763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160311/26624d95/attachment.bin>


More information about the llvm-commits mailing list