[llvm] [AMDGPU] Change SGPR layout to striped caller/callee saved (PR #127353)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 18 07:53:09 PST 2025
================
@@ -91,7 +91,11 @@ def CSR_AMDGPU_AGPRs : CalleeSavedRegs<
>;
def CSR_AMDGPU_SGPRs : CalleeSavedRegs<
- (sequence "SGPR%u", 30, 105)
+ (add (sequence "SGPR%u", 30, 37),
+ (sequence "SGPR%u", 46, 53),
+ (sequence "SGPR%u", 62, 69),
+ (sequence "SGPR%u", 78, 85),
+ (sequence "SGPR%u", 94, 105))
----------------
shiltian wrote:
Yeah, I was thinking that as well. Maybe I can start with s32 and leave s30-s31 as caller saved?
https://github.com/llvm/llvm-project/pull/127353
More information about the llvm-commits
mailing list