mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
AMDGPU/SI: Fix spilling of 96-bit registers
Summary: It seems like this was broken in r252327. I thought we had test cases for this, but it's really hard to tirgger spills of this exact register size since they aren't used very much. Reviewers: arsenm, nhaehnle Subscribers: nhaehnle, arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D19021 llvm-svn: 266152
This commit is contained in:
parent
d912eb672d
commit
7c8ab79409
@ -551,6 +551,8 @@ static unsigned getVGPRSpillSaveOpcode(unsigned Size) {
|
||||
return AMDGPU::SI_SPILL_V32_SAVE;
|
||||
case 8:
|
||||
return AMDGPU::SI_SPILL_V64_SAVE;
|
||||
case 12:
|
||||
return AMDGPU::SI_SPILL_V96_SAVE;
|
||||
case 16:
|
||||
return AMDGPU::SI_SPILL_V128_SAVE;
|
||||
case 32:
|
||||
@ -642,6 +644,8 @@ static unsigned getVGPRSpillRestoreOpcode(unsigned Size) {
|
||||
return AMDGPU::SI_SPILL_V32_RESTORE;
|
||||
case 8:
|
||||
return AMDGPU::SI_SPILL_V64_RESTORE;
|
||||
case 12:
|
||||
return AMDGPU::SI_SPILL_V96_RESTORE;
|
||||
case 16:
|
||||
return AMDGPU::SI_SPILL_V128_RESTORE;
|
||||
case 32:
|
||||
|
Loading…
x
Reference in New Issue
Block a user