R600/SI: Use same complex patterns for DS atomics
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 5 Sep 2014 16:24:58 +0000 (16:24 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 5 Sep 2014 16:24:58 +0000 (16:24 +0000)
commit89a7e3ec3e4b95b318db7119267e4d5ec5ed9505
tree1475cd7633a3caf6d5776dacac46f99a6cedf7cd
parent353cf20b9b759a3334d66a8ae1ff3b327761b335
R600/SI: Use same complex patterns for DS atomics

This fixes hitting the same negative base offset problem
that was already fixed for regular loads and stores.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217256 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstructions.td
test/CodeGen/R600/atomic_cmp_swap_local.ll
test/CodeGen/R600/local-atomics.ll