AMDGPU/SI: Reserve appropriate number of sgprs for flat scratch init.
authorTom Stellard <thomas.stellard@amd.com>
Thu, 17 Dec 2015 17:05:09 +0000 (17:05 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 17 Dec 2015 17:05:09 +0000 (17:05 +0000)
commit55618d8f5c5498672bc044ccfc32dcd4f76f8456
tree852e4dd7864eb657f0f91724adab80a45fec5d0a
parent7c502030bf075f11afe020ef11236ae417af7474
AMDGPU/SI: Reserve appropriate number of  sgprs for flat scratch init.

Reviewers: tstellarAMD

Subscribers: arsenm, llvm-commits

Differential Revision: http://reviews.llvm.org/D15583

Patch by: Changpeng Fang

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255908 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
test/CodeGen/AMDGPU/flat-scratch-reg.ll [new file with mode: 0644]