[PATCH] D11884: AMDGPU/SI: Add missing spill class

Axel Davy via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 9 05:59:49 PDT 2015


axeldavy created this revision.
axeldavy added a subscriber: llvm-commits.

The compiler was failing to spill for some shaders.

http://reviews.llvm.org/D11884

Files:
  lib/Target/AMDGPU/SIRegisterInfo.cpp

Index: lib/Target/AMDGPU/SIRegisterInfo.cpp
===================================================================
--- lib/Target/AMDGPU/SIRegisterInfo.cpp
+++ lib/Target/AMDGPU/SIRegisterInfo.cpp
@@ -348,7 +348,8 @@
     &AMDGPU::SReg_128RegClass,
     &AMDGPU::VReg_256RegClass,
     &AMDGPU::SReg_256RegClass,
-    &AMDGPU::VReg_512RegClass
+    &AMDGPU::VReg_512RegClass,
+    &AMDGPU::SReg_512RegClass
   };
 
   for (const TargetRegisterClass *BaseClass : BaseClasses) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11884.31616.patch
Type: text/x-patch
Size: 474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150809/bd36bc99/attachment-0001.bin>


More information about the llvm-commits mailing list