R600/SI: Remove explicit m0 operand from DS instructions
authorTom Stellard <thomas.stellard@amd.com>
Tue, 12 May 2015 15:00:49 +0000 (15:00 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 12 May 2015 15:00:49 +0000 (15:00 +0000)
commit6ecd744594e04438afde88662826dfb55c145dd5
tree11cc2fecb911c28063d1fb9727af24e485d7b42d
parenta89c1839c73017079ab8d79b8e248cb86164f794
R600/SI: Remove explicit m0 operand from DS instructions

Instead add m0 as an implicit operand.  This helps avoid spills
of the m0 register in some cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237141 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelDAGToDAG.cpp
lib/Target/R600/AMDGPUInstructions.td
lib/Target/R600/SIInstrFormats.td
lib/Target/R600/SIInstrInfo.td
lib/Target/R600/SIInstructions.td
lib/Target/R600/SILoadStoreOptimizer.cpp
test/CodeGen/R600/ds_read2st64.ll
test/CodeGen/R600/shl_add_ptr.ll