[PATCH] D95861: [AMDGPU] Save fp/bp after csr saves
    Sebastian Neubauer via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Feb  2 03:29:58 PST 2021
    
    
  
sebastian-ne created this revision.
sebastian-ne added reviewers: arsenm, kerbowa.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
sebastian-ne requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
Saving callee-save registers happens in whole wave mode. Exec is saved
to a free register, which can be reused to save the frame pointer.
Therefore, saving the fp needs to happen after saving csrs.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D95861
Files:
  llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
  llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95861.320733.patch
Type: text/x-patch
Size: 5664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210202/f0fceee1/attachment.bin>
    
    
More information about the llvm-commits
mailing list