[AMDGPU] Remove getAllVGPR32() which cannot handle Accum VGPRs properly
authorvnalamot <VenkataRamanaiah.Nalamothu@amd.com>
Tue, 20 Oct 2020 16:31:09 +0000 (22:01 +0530)
committervnalamot <VenkataRamanaiah.Nalamothu@amd.com>
Tue, 20 Oct 2020 17:45:24 +0000 (23:15 +0530)
commit89f7ccea6f6488c443655880229c54db1f180153
tree4075636e4643f006a365f198948389113aed4e2e
parent729d7d23282e9b00eaa7a5f35a4224929d73d3a4
[AMDGPU] Remove getAllVGPR32() which cannot handle Accum VGPRs properly

Remove getAllVGPR32() interface and update the SGPR spill code to use
a proper method to get the relevant VGPR registers list.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D89806
llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
llvm/lib/Target/AMDGPU/SIRegisterInfo.h