]> granicus.if.org Git - llvm/commit
Merging r262732:
authorTom Stellard <thomas.stellard@amd.com>
Fri, 3 Jun 2016 20:22:44 +0000 (20:22 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 3 Jun 2016 20:22:44 +0000 (20:22 +0000)
commit47bf9db963045dd1bfc4d93cade3a503b51b99b5
tree6d5c2e9b3506b41c58aaae8edbd94d442b8d3874
parent3fe15c9188ff54d56ff9784cf45c0a6a9a83d20a
Merging r262732:

------------------------------------------------------------------------
r262732 | thomas.stellard | 2016-03-04 10:31:18 -0800 (Fri, 04 Mar 2016) | 12 lines

AMDGPU/SI: Add support for spiling SGPRs to scratch buffer

Summary:
This is necessary for when we run out of VGPRs and can no
longer use v_{read,write}_lane for spilling SGPRs.

Reviewers: arsenm

Subscribers: arsenm, llvm-commits

Differential Revision: http://reviews.llvm.org/D17592

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_38@271722 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIInstructions.td
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
lib/Target/AMDGPU/SIMachineFunctionInfo.h
lib/Target/AMDGPU/SIRegisterInfo.cpp
test/CodeGen/AMDGPU/si-spill-sgpr-stack.ll [new file with mode: 0644]