R600/SI: Use external symbols for scratch buffer
authorTom Stellard <thomas.stellard@amd.com>
Tue, 20 Jan 2015 17:49:47 +0000 (17:49 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 20 Jan 2015 17:49:47 +0000 (17:49 +0000)
commit6dc4d8f0ed809e5ab8e181b072b1f22810e7a5d8
tree2f19f83b358e451af2bdd805e9554e8b8a9d3263
parentad7a884efe8c074a07b52f22d860e715591e0ccc
R600/SI: Use external symbols for scratch buffer

We were passing the scratch buffer address to the shaders via user sgprs,
but now we use external symbols and have the driver patch the shader
using reloc information.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226586 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPU.h
lib/Target/R600/AMDGPUISelDAGToDAG.cpp
lib/Target/R600/AMDGPUMCInstLower.cpp
lib/Target/R600/SIDefines.h
lib/Target/R600/SIInstrInfo.cpp
lib/Target/R600/SIInstructions.td
lib/Target/R600/SIPrepareScratchRegs.cpp
lib/Target/R600/SIRegisterInfo.cpp
lib/Target/R600/SIRegisterInfo.h