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)
commit95292bbfcd70cd52648b930827c76c8b6c86272f
tree8edfc604b80e1ec34e6de019039f08187de48aa7
parent8255af45cbfbfdeb29eb8c817e20cdbed45371cf
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.

llvm-svn: 226586
llvm/lib/Target/R600/AMDGPU.h
llvm/lib/Target/R600/AMDGPUISelDAGToDAG.cpp
llvm/lib/Target/R600/AMDGPUMCInstLower.cpp
llvm/lib/Target/R600/SIDefines.h
llvm/lib/Target/R600/SIInstrInfo.cpp
llvm/lib/Target/R600/SIInstructions.td
llvm/lib/Target/R600/SIPrepareScratchRegs.cpp
llvm/lib/Target/R600/SIRegisterInfo.cpp
llvm/lib/Target/R600/SIRegisterInfo.h