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.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D54210
[Hexagon] Implement noreturn optimization ClosedPublic Authored by bcahoon on Nov 7 2018, 7:54 AM.
Details Summary 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.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Nov 7 2018, 8:25 AM Closed by commit rL346532: [Hexagon] Implement noreturn optimization (authored by bcahoon). · Explain WhyNov 9 2018, 10:18 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 172958 llvm/lib/Target/Hexagon/Hexagon.td
llvm/lib/Target/Hexagon/HexagonFrameLowering.h
llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
llvm/lib/Target/Hexagon/HexagonSubtarget.h
llvm/test/CodeGen/Hexagon/noreturn-stack-elim.ll
|