[PATCH] D42898: Do not spill CSR to stack on entry to noreturn functions
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 8 13:19:12 PST 2018
efriedma added a comment.
> I did think about that, but came to the conclusion that longjmp would have to restore all callee-saves to the state they had at setjmp, and that setjmp would have to store them into the jmp_buf.
Huh. I guess that works? But you probably want to explicitly note that in a comment in the code.
https://reviews.llvm.org/D42898
More information about the llvm-commits
mailing list