[all-commits] [llvm/llvm-project] a065a0: [AMDGPU] Allow use of StackPtrOffsetReg when build...
Carl Ritson via All-commits
all-commits at lists.llvm.org
Fri May 15 19:55:37 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a065a01bf715e4a5cf1b532ea50a4a6d877eeed7
https://github.com/llvm/llvm-project/commit/a065a01bf715e4a5cf1b532ea50a4a6d877eeed7
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2020-05-16 (Sat, 16 May 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
M llvm/test/CodeGen/AMDGPU/spill-scavenge-offset.ll
Log Message:
-----------
[AMDGPU] Allow use of StackPtrOffsetReg when building spills
Summary:
When spilling in the entry function we should be able to borrow
StackPtrOffsetReg as a last resort. This restores behaviour
removed in D75138, and fixes failures when shaders use all
SGPRs, VGPRs and spill in the entry function.
Reviewers: scott.linder, arsenm, tpr
Reviewed By: scott.linder, arsenm
Subscribers: qcolombet, foad, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, t-tye, hiraditya, kerbowa, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D79776
More information about the All-commits
mailing list