AMDGPU: Add/Fix tests for image atomic intrinsic.
authorRodrigo Dominguez <rodrigo.dominguez@amd.com>
Thu, 27 Feb 2020 20:02:34 +0000 (15:02 -0500)
committerRodrigo Dominguez <rodrigo.dominguez@amd.com>
Thu, 5 Mar 2020 17:18:15 +0000 (12:18 -0500)
commit4313543de1e6f400fa1190b0a34c4dd189cad3bc
treea171717ab09a1efb2e2da13ec38adc75d38a3c3d
parenta74b33f61251030644c70c8dc11daab4aca5a1f0
AMDGPU: Add/Fix tests for image atomic intrinsic.

Summary:
Add tests for 64-bit image atomic swap and cmpswap.
Fix tests for 32-bit image atomic add.

Change-Id: Ibb7619749c1ad504b24aa1c5f3185417a3013f3c

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, jfb, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75295
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.atomic.dim.ll