commit | a092aaccd06b15a7bd3af9cf1162cb540d215319 | [log] [tgz] |
---|---|---|
author | Tom Stellard <thomas.stellard@amd.com> | Wed Apr 13 20:44:16 2016 +0000 |
committer | Tom Stellard <thomas.stellard@amd.com> | Wed Apr 13 20:44:16 2016 +0000 |
tree | de108bff748426a81443fdfa2f3042c899c9c94b | |
parent | f301f27d4e8e523c271fdd55f494d1a8ea45b885 [diff] |
AMDGPU/SI: Add support for spilling VGPRs without having to scavenge registers Summary: When we are spilling SGPRs to scratch memory, we usually don't have free SGPRs to do the address calculation, so we need to re-use the ScratchOffset register for the calculation. Reviewers: arsenm Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D18917 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266244 91177308-0d34-0410-b5e6-96231b3b80d8