From: Marek Olsak Date: Wed, 13 Jan 2016 11:46:48 +0000 (+0000) Subject: AMDGPU/SI: Allow more shader inputs X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=d28ea845e9f19987b89aae42433d7ae989968c8e AMDGPU/SI: Allow more shader inputs Reviewers: tstellarAMD, arsenm Subscribers: arsenm Differential Revision: http://reviews.llvm.org/D16032 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257593 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AMDGPU/AMDGPUCallingConv.td b/lib/Target/AMDGPU/AMDGPUCallingConv.td index 6ffa7a08358..36ed1ed1295 100644 --- a/lib/Target/AMDGPU/AMDGPUCallingConv.td +++ b/lib/Target/AMDGPU/AMDGPUCallingConv.td @@ -20,24 +20,48 @@ def CC_SI : CallingConv<[ CCIfInReg>>, CCIfInReg>>, + // 32*4 + 4 is the minimum for a fetch shader consumer with 32 inputs. CCIfNotInReg>>, CCIfByVal>> ]>;