summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/private-access-no-objects.ll
Commit message (Collapse)AuthorAgeFilesLines
* AMDGPU: Fix using incorrect private resource with no allocationMatt Arsenault2016-10-281-1/+24
| | | | | | | | | | | 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
* AMDGPU: Assume spilling will occur at -O0Matt Arsenault2016-10-131-0/+33
Because everything live is spilled at the end of a block by fast regalloc, assume this will happen and avoid the copies of the resource descriptor. llvm-svn: 284119
OpenPOWER on IntegriCloud