[PATCH] D18917: AMDGPU/SI: Add support for spilling VGPRs without having to scavenge registers

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 8 18:40:38 PDT 2016


tstellarAMD created this revision.
tstellarAMD added a reviewer: arsenm.
tstellarAMD added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.

When we are spilling SGPRs to scratch memory, we usually don't have
free SGPRs to do the address calculation, so we need to re-use the
ScratchOffset register for the calculation.

http://reviews.llvm.org/D18917

Files:
  lib/Target/AMDGPU/SIRegisterInfo.cpp
  lib/Target/AMDGPU/SIRegisterInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18917.53108.patch
Type: text/x-patch
Size: 4575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160409/6c5a0b1b/attachment.bin>


More information about the llvm-commits mailing list