[llvm] [AMDGPU] Restore SP from saved-FP or saved-BP (PR #124007)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 23 23:35:34 PST 2025


s-barannikov wrote:

> But that's not the case always. BP is enforced with this patch, when there is a dyn stack bump from the original stack base (either due to dyn_stack_alloc or dyn_realignment), mainly to unwind the SP correctly at the epilogue.

I got confused by the fact that you're using swapped meaning of FP/BP. I was talking about FP in your terminology.


https://github.com/llvm/llvm-project/pull/124007


More information about the llvm-commits mailing list