ScratchExecCopy needs to be marked as live, we cannot use that register
while EXEC is stored in there.
Marking SGPRForFPSaveRestoreCopy and SGPRForBPSaveRestoreCopy as
available is unnecessary, they should not be live at that point anway.
Paths
| Differential D100098
[AMDGPU] Fix computing live registers in prolog ClosedPublic Authored by sebastian-ne on Apr 8 2021, 5:07 AM.
Details Summary ScratchExecCopy needs to be marked as live, we cannot use that register Marking SGPRForFPSaveRestoreCopy and SGPRForBPSaveRestoreCopy as
Diff Detail
Event TimelineHerald added subscribers: kerbowa, hiraditya, t-tye and 7 others. · View Herald TranscriptApr 8 2021, 5:07 AM This revision is now accepted and ready to land.Apr 8 2021, 5:41 AM Closed by commit rGc10cc4ea2729: [AMDGPU] Fix computing live registers in prolog (authored by sebastian-ne). · Explain WhyApr 8 2021, 6:04 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 336074 llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
llvm/test/CodeGen/AMDGPU/pei-scavenge-vgpr-spill.mir
|