There is no point in setting SGPRS=104, because VI allocates SGPRs
in multiples of 16, so 104 -> 112. That enables us to use all 102 SGPRs
for general purposes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D27149
AMDGPU/SI: Allow using SGPRs 96-101 on VI ClosedPublic Authored by mareko on Nov 27 2016, 11:12 AM.
Details Summary There is no point in setting SGPRS=104, because VI allocates SGPRs
Diff Detail
Event Timelinemareko updated this object. This revision is now accepted and ready to land.Nov 28 2016, 7:29 AM Closed by commit rL289260: AMDGPU/SI: Allow using SGPRs 96-101 on VI (authored by mareko). · Explain WhyDec 9 2016, 12:00 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 80928 llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.cpp
llvm/trunk/lib/Target/AMDGPU/SIRegisterInfo.h
llvm/trunk/lib/Target/AMDGPU/SIRegisterInfo.cpp
llvm/trunk/test/CodeGen/AMDGPU/exceed-max-sgprs.ll
llvm/trunk/test/CodeGen/AMDGPU/si-spill-sgpr-stack.ll
|