forked from OSchip/llvm-project
AMDGPU/SI: Add missing spill class
The compiler was failing to spill for some shaders. Patch By: Axel Davy llvm-svn: 245087
This commit is contained in:
parent
980b6cc42b
commit
bef1094ee7
|
@ -348,7 +348,8 @@ const TargetRegisterClass *SIRegisterInfo::getPhysRegClass(unsigned Reg) const {
|
|||
&AMDGPU::SReg_128RegClass,
|
||||
&AMDGPU::VReg_256RegClass,
|
||||
&AMDGPU::SReg_256RegClass,
|
||||
&AMDGPU::VReg_512RegClass
|
||||
&AMDGPU::VReg_512RegClass,
|
||||
&AMDGPU::SReg_512RegClass
|
||||
};
|
||||
|
||||
for (const TargetRegisterClass *BaseClass : BaseClasses) {
|
||||
|
|
Loading…
Reference in New Issue