[Hexagon] Delay emission of CFI instructions
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 19 Oct 2015 17:46:01 +0000 (17:46 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 19 Oct 2015 17:46:01 +0000 (17:46 +0000)
commitc3d768d729e32c3c9d7a8ec593fc6e3fb4def019
treec4c364d0c5a58db33a9844576a99c980faefb210
parentdbab1c23c7895dba2e97051baec01369b2cfc0b4
[Hexagon] Delay emission of CFI instructions

Emit the CFI instructions after all code transformation have been done.
This will avoid any interference between CFI instructions and packetization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250714 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/HexagonFrameLowering.cpp
lib/Target/Hexagon/HexagonFrameLowering.h
lib/Target/Hexagon/HexagonTargetMachine.cpp
test/CodeGen/Hexagon/cfi-late.ll [new file with mode: 0644]
test/CodeGen/Hexagon/relax.ll
test/CodeGen/Hexagon/simple_addend.ll