R600/SI: Refactor local atomics.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 11 Jun 2014 18:08:34 +0000 (18:08 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 11 Jun 2014 18:08:34 +0000 (18:08 +0000)
commitb97095b94f1297256e2df0d49355f2f4f10ffcfe
tree948c32e7fc3af725ac7dc4ce6bfdaff61ceabdff
parent8a9df8f92c3b2c9ed822245d8348c3609923f382
R600/SI: Refactor local atomics.

Use patterns that will also match the immediate offset to
match the normal read / writes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210673 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUInstructions.td
lib/Target/R600/SIInstructions.td
test/CodeGen/R600/atomic_load_add.ll
test/CodeGen/R600/atomic_load_sub.ll