[AMDGPU] Increases available SGPR for Calling Convention
authorRyan Taylor <rtayl@amd.com>
Wed, 15 May 2019 14:43:55 +0000 (14:43 +0000)
committerRyan Taylor <rtayl@amd.com>
Wed, 15 May 2019 14:43:55 +0000 (14:43 +0000)
commit29257eb76c8dc733d48a16765c621e5af21a8247
tree4e5c7ee42c5925a8b7d1731f9218af331dc6cb9e
parent0c82d9b5a2e2eaf19eeb41abaa61646f0de7bec1
[AMDGPU] Increases available SGPR for Calling Convention

Summary:
SGPR in CC can be either hw initialized or set by other chained shaders
and so this increases the SGPR count availalbe to CC to 105.

Change-Id: I3dfadc750fe4a3e2bd07117a2899fd13f3e2fef3

Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D61261

llvm-svn: 360778
llvm/lib/Target/AMDGPU/AMDGPUCallingConv.td
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/test/CodeGen/AMDGPU/sgpr-limit.ll [new file with mode: 0644]