[PATCH] D42898: Do not spill CSR to stack on entry to noreturn functions

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 10:18:01 PST 2018


kparzysz added a comment.

I was thinking of the case when the non-returning function simply does not return to the caller, but terminates its own execution by going elsewhere (something like continuation-passing).  If the function has an infinite loop or something like that, and is not intended to ever leave its own context, then not saving CSR shouldn't make a difference.


https://reviews.llvm.org/D42898





More information about the llvm-commits mailing list