projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5562df7
)
AMDGPU/SI: Add missing spill class
author
Tom Stellard
<thomas.stellard@amd.com>
Fri, 14 Aug 2015 19:46:05 +0000
(19:46 +0000)
committer
Tom Stellard
<thomas.stellard@amd.com>
Fri, 14 Aug 2015 19:46:05 +0000
(19:46 +0000)
The compiler was failing to spill for some shaders.
Patch By: Axel Davy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245087
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/AMDGPU/SIRegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/AMDGPU/SIRegisterInfo.cpp
b/lib/Target/AMDGPU/SIRegisterInfo.cpp
index 9834aa9ecb5671982061000b7983b8479b3e635e..a0e6fba745cbeac0c58a219d80dbf11fafd5012f 100644
(file)
--- a/
lib/Target/AMDGPU/SIRegisterInfo.cpp
+++ b/
lib/Target/AMDGPU/SIRegisterInfo.cpp
@@
-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) {