[AMDGPU] Do not attempt sgpr spills to vgpr, when it is disabled
authorRamNalamothu <VenkataRamanaiah.Nalamothu@amd.com>
Fri, 5 Mar 2021 08:25:43 +0000 (13:55 +0530)
committerRamNalamothu <VenkataRamanaiah.Nalamothu@amd.com>
Fri, 5 Mar 2021 17:17:21 +0000 (22:47 +0530)
commit3998a8e79761fa4bb67c14d9c7720a64423f4a99
tree9f1b90cd821844da7c4e3d2725894544850720ea
parent98c6d3194ed90217ca6ce7e451d31ea246d2afff
[AMDGPU] Do not attempt sgpr spills to vgpr, when it is disabled

This covers a path missed in https://reviews.llvm.org/D95768.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D98013
llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
llvm/test/CodeGen/AMDGPU/frame-setup-without-sgpr-to-vgpr-spills.ll