[Hexagon] Extract function that checks endloops with other branches
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 2 May 2017 17:56:11 +0000 (17:56 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 2 May 2017 17:56:11 +0000 (17:56 +0000)
commitc15f8d2a082173006f183b41d28eb228978f1d07
treecd19ab5c7275f3236cadaafa7143bb7f4ce2e016
parent1cc6bfbc83652c217371e38cbbd9235fa74f1cd3
[Hexagon] Extract function that checks endloops with other branches

Change location number to point to conflicting branch instruction.

Patch by Colin LeMahieu.

llvm-svn: 301946
llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp
llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.h
llvm/test/MC/Hexagon/PacketRules/endloop_branches.s [new file with mode: 0644]
llvm/test/MC/Hexagon/endloop.s [deleted file]