[llvm] r207990 - R600/SI: allow 5 more input SGPRs to a shader
Marek Olsak
marek.olsak at amd.com
Mon May 5 12:30:55 PDT 2014
Author: mareko
Date: Mon May 5 14:30:54 2014
New Revision: 207990
URL: http://llvm.org/viewvc/llvm-project?rev=207990&view=rev
Log:
R600/SI: allow 5 more input SGPRs to a shader
Our OpenGL driver needs 22 SGPRs (16 user SGPRs + 6 streamout non-user SGPRs).
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
Modified:
llvm/trunk/lib/Target/R600/AMDGPUCallingConv.td
Modified: llvm/trunk/lib/Target/R600/AMDGPUCallingConv.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDGPUCallingConv.td?rev=207990&r1=207989&r2=207990&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDGPUCallingConv.td (original)
+++ llvm/trunk/lib/Target/R600/AMDGPUCallingConv.td Mon May 5 14:30:54 2014
@@ -20,7 +20,7 @@ def CC_SI : CallingConv<[
CCIfInReg<CCIfType<[f32, i32] , CCAssignToReg<[
SGPR0, SGPR1, SGPR2, SGPR3, SGPR4, SGPR5, SGPR6, SGPR7,
SGPR8, SGPR9, SGPR10, SGPR11, SGPR12, SGPR13, SGPR14, SGPR15,
- SGPR16
+ SGPR16, SGPR17, SGPR18, SGPR19, SGPR20, SGPR21
]>>>,
CCIfInReg<CCIfType<[i64] , CCAssignToRegWithShadow<
More information about the llvm-commits
mailing list