[PATCH] D54210: [Hexagon] Implement noreturn optimization

Brendon Cahoon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 7 07:54:11 PST 2018


bcahoon created this revision.
bcahoon added reviewers: kparzysz, sgundapa.
Herald added subscribers: llvm-commits, hiraditya.

Eliminate the stack in functions with the noreturn nounwind attributes, and the noreturn-stack-elim target feature is enabled. This reduces the code size and stack space needed for noreturn functions.


Repository:
  rL LLVM

https://reviews.llvm.org/D54210

Files:
  llvm/lib/Target/Hexagon/Hexagon.td
  llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
  llvm/lib/Target/Hexagon/HexagonFrameLowering.h
  llvm/lib/Target/Hexagon/HexagonSubtarget.h
  llvm/test/CodeGen/Hexagon/noreturn-stack-elim.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54210.172958.patch
Type: text/x-patch
Size: 7158 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181107/b7079564/attachment.bin>


More information about the llvm-commits mailing list