| commit | 08906a3c62b7700bafda4de8a1538433abd69be9 | [log] [tgz] |
|---|---|---|
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | Fri Oct 28 19:43:31 2016 +0000 |
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Fri Oct 28 19:43:31 2016 +0000 |
| tree | a4a6091fb04ad117b430b94c127503c2555b301b | |
| parent | e28a0fc72a345ede4ef9d137a15d9c102f427931 [diff] |
AMDGPU: Fix using incorrect private resource with no allocation It's possible to have a use of the private resource descriptor or scratch wave offset registers even though there are no allocated stack objects. This would result in continuing to use the maximum number reserved registers. This could go over the number of SGPRs available on VI, or violate the SGPR limit requested by the function attributes. llvm-svn: 285435