Hexagon: Put relocations after instructions not packets.
authorSid Manning <sidneym@codeaurora.org>
Mon, 14 May 2018 19:46:08 +0000 (19:46 +0000)
committerSid Manning <sidneym@codeaurora.org>
Mon, 14 May 2018 19:46:08 +0000 (19:46 +0000)
commitd9f28735117d8ff86b48f093f7b37cce4aac2fdb
treeb5c74772e972152e16b7d627d3a356dee94dc26c
parent57e7470ab6c0743c8a5b6fb34799748a011e53c2
Hexagon: Put relocations after instructions not packets.

Change relocation output so that relocation information follows
individual instructions rather than clustering them at the end
of packets.

This change required shifting block of code but the actual change
is in HexagonPrettyPrinter's PrintInst.

Differential Revision: https://reviews.llvm.org/D46728

llvm-svn: 332283
llvm/test/CodeGen/Hexagon/relax.ll
llvm/test/MC/Hexagon/packetrelo.s [new file with mode: 0644]
llvm/test/MC/Hexagon/plt-rel.s
llvm/tools/llvm-objdump/llvm-objdump.cpp