This reduces the number of SGPRs due to some concerns about running
out of SGPRs if you make all the SGPRs that aren't reserved available
for the calling convention.
Change-Id: Ibfdcd4a42ba9ad22bdc96413e1f8d6e2072858c2
Paths
| Differential D64933
[AMDGPU] Adjust number of SGPRs available in Calling Convention ClosedPublic Authored by rtaylor on Jul 18 2019, 9:56 AM.
Details
Diff Detail
Event TimelineComment Actions Added test case. Changed assert to report_fatal_error when checking rtaylor added inline comments. Comment Actions Hmm... looks like AMDGPUISelLowering.cpp has changed quite a bit in regards to the calling convention. This revision is now accepted and ready to land.Aug 27 2019, 5:09 PM
Revision Contents
Diff 210967 lib/CodeGen/CallingConvLower.cpp
lib/Target/AMDGPU/AMDGPUCallingConv.td
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
test/CodeGen/AMDGPU/cc-sgpr-limit.ll
test/CodeGen/AMDGPU/cc-sgpr-over-limit.ll
test/CodeGen/AMDGPU/sgpr-limit.ll
|
The message printed here will still be wrong.