[llvm] [AMDGPU] Eliminate redundant SGPR restores (PR #222680)

Janek van Oirschot via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 05:01:21 PDT 2026


https://github.com/JanekvO commented:

Sorry to keep hammering on this, but I am trying to understand the underlying issue here. Is this only realistically expected to happen for function calls? I recall greedy split logic being a bit unforgiving wrt emitting restores for ever use but I'm surprised that there is no existing logic for eliding emits for these superfluous restores

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


More information about the llvm-commits mailing list