R600/SI: Fix allocating flat_scr_lo / flat_scr_hi
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 25 Nov 2014 07:53:06 +0000 (07:53 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 25 Nov 2014 07:53:06 +0000 (07:53 +0000)
commit87926dfe7efbb3f01ef6f71becce3837b758aac5
tree1285d3a6b1ef99f2fa88971600ea12e0885f5e67
parentc3da97ac99c8b5e128b0f08ed0902c21c41622d8
R600/SI: Fix allocating flat_scr_lo / flat_scr_hi

Only the super register flat_scr was marked as reserved,
so in some cases with high register usage it would still
try to allocate the subregisters.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222737 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIRegisterInfo.cpp