AMDGPU: Make AllocationPriority of SGPRs higher than VGPRs
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 14 Dec 2016 16:52:06 +0000 (16:52 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 14 Dec 2016 16:52:06 +0000 (16:52 +0000)
commitbdc0ac0a0e57857cb7e6d3dc007108a51131471c
tree399203baec06874e4a10ab4eba71abfe0ad29187
parenta37569927b0fe3fb2544ec496b2ac68dada0e4a9
AMDGPU: Make AllocationPriority of SGPRs higher than VGPRs

Since SGPRs should spill to VGPRs, they should be allocated first.
I don't think this is sufficient for SGPRs to always spill to
VGPRs though.

llvm-svn: 289671
llvm/lib/Target/AMDGPU/SIRegisterInfo.td