[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
Mon Feb 5 03:53:21 PST 2018


myeisha updated this revision to Diff 132806.
myeisha edited the summary of this revision.
myeisha added a comment.

Restricated CSR save skip to noreturn nounwind functions from previously noreturn. Exception handlers might need CSRs restored.


https://reviews.llvm.org/D42898

Files:
  lib/CodeGen/TargetFrameLoweringImpl.cpp
  test/CodeGen/AArch64/arm64-shrink-wrapping.ll
  test/CodeGen/ARM/arm-shrink-wrapping.ll
  test/CodeGen/ARM/noreturn-csr-skip.ll
  test/CodeGen/PowerPC/ppc-shrink-wrapping.ll
  test/CodeGen/Thumb/thumb-shrink-wrapping.ll
  test/CodeGen/X86/2010-02-19-TailCallRetAddrBug.ll
  test/CodeGen/X86/x86-shrink-wrapping.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42898.132806.patch
Type: text/x-patch
Size: 6557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180205/72e3ce34/attachment.bin>


More information about the llvm-commits mailing list