[Hexagon] Prevent a stall across zero-latency instructions in a packet
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Fri, 6 Apr 2018 18:13:11 +0000 (18:13 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Fri, 6 Apr 2018 18:13:11 +0000 (18:13 +0000)
commitaca8f327137ab6fdec17310ca201860151d4f808
tree3727774005f1795c8808e3149ebc939f7ee6b544
parent269740a88ef98596098c73d77b763b35173e421a
[Hexagon] Prevent a stall across zero-latency instructions in a packet

Packetizer keeps two zero-latency bound instrctions in the same packet ignoring
the stalls on the later instruction. This should not be the case if there is no
data dependence.

Patch by Sumanth Gundapaneni.

llvm-svn: 329437
llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp