[llvm] r245087 - AMDGPU/SI: Add missing spill class
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 14 12:46:05 PDT 2015
Author: tstellar
Date: Fri Aug 14 14:46:05 2015
New Revision: 245087
URL: http://llvm.org/viewvc/llvm-project?rev=245087&view=rev
Log:
AMDGPU/SI: Add missing spill class
The compiler was failing to spill for some shaders.
Patch By: Axel Davy
Modified:
llvm/trunk/lib/Target/AMDGPU/SIRegisterInfo.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/SIRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SIRegisterInfo.cpp?rev=245087&r1=245086&r2=245087&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIRegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/SIRegisterInfo.cpp Fri Aug 14 14:46:05 2015
@@ -348,7 +348,8 @@ const TargetRegisterClass *SIRegisterInf
&AMDGPU::SReg_128RegClass,
&AMDGPU::VReg_256RegClass,
&AMDGPU::SReg_256RegClass,
- &AMDGPU::VReg_512RegClass
+ &AMDGPU::VReg_512RegClass,
+ &AMDGPU::SReg_512RegClass
};
for (const TargetRegisterClass *BaseClass : BaseClasses) {
More information about the llvm-commits
mailing list