R600/SI: Fix/add tests for atomicrmw add
authorAaron Watry <awatry@gmail.com>
Fri, 17 Oct 2014 23:32:50 +0000 (23:32 +0000)
committerAaron Watry <awatry@gmail.com>
Fri, 17 Oct 2014 23:32:50 +0000 (23:32 +0000)
commitd9f9b51223ce609edef576d6441347acd2203dcc
treef5bffac3362932f6e7fc38516afe435cbe45cda0
parent802463d8617692a8ff90bdb1d3517e2028332b87
R600/SI: Fix/add tests for atomicrmw add

The previous tests claimed to test constant offsets in the function name,
but the tests weren't actually testing them.

Clone the tests, and do testing of all combinations of the following:
1) with/without constant pointer offset
2) 32/64-bit addressing modes
3) Usage and non-usage of the return value from the atomicrmw

Reviewed-by: Matt Arsenault <matthew.arsenault@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220103 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/R600/global_atomics.ll