[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
Wed Mar 21 15:12:41 PDT 2018


myeisha updated this revision to Diff 139380.
myeisha added a comment.

added assertions for `noreturn nounwind` to the generic and ARM csr spill skip predicates.


https://reviews.llvm.org/D42898

Files:
  include/llvm/CodeGen/TargetFrameLowering.h
  lib/CodeGen/TargetFrameLoweringImpl.cpp
  lib/Target/ARM/ARMFrameLowering.cpp
  lib/Target/ARM/ARMFrameLowering.h
  test/CodeGen/AArch64/arm64-shrink-wrapping.ll
  test/CodeGen/ARM/arm-shrink-wrapping.ll
  test/CodeGen/ARM/noreturn-csr-skip.mir
  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.139380.patch
Type: text/x-patch
Size: 9495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180321/50b5fb83/attachment.bin>


More information about the llvm-commits mailing list