[Hexagon] Insert CFI instructions before throwing calls
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Thu, 28 Jul 2016 19:13:46 +0000 (19:13 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Thu, 28 Jul 2016 19:13:46 +0000 (19:13 +0000)
commitc43644d33289ea9c40d8fca4f2a666739a57d4a3
tree447737ff1d7e1fa5bd3ad28affdf4258aad4cd63
parentd66889cbae749ceffca88f094274e2d64c2cb8f8
[Hexagon] Insert CFI instructions before throwing calls

Normally, CFI instructions should be inserted after allocframe, but
if allocframe is in the same packet with a call, the CFI instructions
should be inserted before that packet.

llvm-svn: 277020
llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
llvm/test/CodeGen/Hexagon/packetize-cfi-location.ll [new file with mode: 0644]