[Hexagon] Enable .cur formation in MISched for Hexagon V60
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 18 Jul 2016 16:05:27 +0000 (16:05 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 18 Jul 2016 16:05:27 +0000 (16:05 +0000)
commit786333ffcc41b7f07c1c18a0930a47b2a1dc1a22
treeb08e600b5893a8a8f48e71858c703706960c6d34
parent3fab868675c2c827f84e697990adf13c615b1c24
[Hexagon] Enable .cur formation in MISched for Hexagon V60

Schedule a load and its use in the same packet in MISched. Previously,
isResourceAvailable was returning false for dependences in the same
packet, which prevented MISched from packetizing a load and its use in
the same packet for v60.

Patch by Ikhlas Ajbar.

llvm-svn: 275804
llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
llvm/test/CodeGen/Hexagon/v60-cur.ll [new file with mode: 0644]