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

pmb via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 09:46:05 PST 2018


myeisha added a comment.

In https://reviews.llvm.org/D42898#998371, @thegameg wrote:

> I do agree that if this breaks stack traces it should be under some flag or something.


We could also tie it into frame pointer elimination and skip CSR saves only when fp elimination is active, maybe add a per-target option to skip anyway if the target has special handling for fp/lr.


https://reviews.llvm.org/D42898





More information about the llvm-commits mailing list