]> granicus.if.org Git - llvm/commit
[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)
commita7c00b136cfe371c783a8123c839fba45928f80b
treeba806ccf2d4ae9cfe2335d59049b4bb062a03f66
parent71c0ef585b1a326fac9ee474ab1729db1bdeaf87
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275804 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/HexagonMachineScheduler.cpp
test/CodeGen/Hexagon/v60-cur.ll [new file with mode: 0644]