[PATCH] AMDGPU: Fix VGPR spilling

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 07:12:04 PDT 2015


> On Oct 13, 2015, at 2:23 PM, Tom Stellard <tom at stellard.net> wrote:
> 
> I would prefer to have this logic in SIRegisterInfo::getPreloadedValue().
> For HSA, the scratch descriptor will be in s[0:3].
> 
> At some point we are going to need to have 'dummy' registers or something
> similar for all the pre-loaded values, and then fill the real values in
> some time later.  

I will probably be moving getPreloadedValue to SIMachineFunctionInfo or removing it entirely. It can’t use the fixed registers like getPreloadedValue returns now since each input is individually enablable and differs per function, so it just turns into a switch over the MFI members.

-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151020/b0a763cd/attachment.html>


More information about the llvm-commits mailing list