R600/SI: Use a register set to -1 for data0 on ds_inc*/ds_dec*
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 12 Jun 2014 08:21:54 +0000 (08:21 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 12 Jun 2014 08:21:54 +0000 (08:21 +0000)
commit0b87955888131def2f8dbc2e63bb67fa3749f364
treefffb0ce19071cd2cfd44b5f72a6ec36e3ca6f378
parent3299dee207027b1bdef4282bda31ca6c3cc8e6a4
R600/SI: Use a register set to -1 for data0 on ds_inc*/ds_dec*

There is not such thing as a 0-data ds instruction, and the data
operand needs to be a vgpr set to something meaningful.

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