It's possible to validly spill the frame offset register
in a call sequence to a VGPR. There are definitely issues
with SGPR spilling to memory, so move the assert later.
Details
Details
- Reviewers
- rampitec 
Diff Detail
Diff Detail
| Paths 
 |  Differential  D45967  
AMDGPU: Move a flawed assert when spilling SGPRs ClosedPublic Authored by arsenm on Apr 23 2018, 8:03 AM. 
Details 
 Summary It's possible to validly spill the frame offset register 
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 5 others.  ·  View Herald TranscriptApr 23 2018, 8:03 AM This revision is now accepted and ready to land.Apr 23 2018, 8:31 AM 
Revision Contents 
 
Diff 143564 lib/Target/AMDGPU/SIInstrInfo.cpp
 lib/Target/AMDGPU/SIRegisterInfo.cpp
 test/CodeGen/AMDGPU/spill-csr-frame-ptr-reg-copy.ll
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||