First, add code to reserve all required special purpose registers,
followed by code to reserve SGPRs, followed by code to reserve
VGPRs/AGPRs.
This patch is prepared as a pre-requisite to fix an issue related to
GFX90A hardware.
| Paths 
 |  Differential  D122219  
[AMDGPU] [NFC]: Organize the code around reserving registers. ClosedPublic Authored by hsmhsm on Mar 22 2022, 3:07 AM. 
Details Summary First, add code to reserve all required special purpose registers, This patch is prepared as a pre-requisite to fix an issue related to 
Diff Detail 
 Event Timeline
 
 This revision is now accepted and ready to land.Mar 22 2022, 6:41 PM This revision was landed with ongoing or failed builds.Mar 22 2022, 6:48 PM Closed by commit rGf014303e2ce4: [AMDGPU] [NFC]: Organize the code around reserving registers. (authored by hsmhsm).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 417268 llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I think this loop should be grouped together with the ones below reserving registers used for spills