OSDN Git Service

[Hexagon] Correct the computation of TopReadyCycle and BotReadyCycle of SU
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 20 Mar 2018 17:03:27 +0000 (17:03 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 20 Mar 2018 17:03:27 +0000 (17:03 +0000)
commitb3bc29ae35c0a6122e89f89ee83e461a44dd3501
treeb2bbab07554694fba18b9e9af37dbcf3fb0d1d84
parent5926c6d6fe85f6623d2d14f473873bc72c72d482
[Hexagon] Correct the computation of TopReadyCycle and BotReadyCycle of SU

TopReadyCycle and BotReadyCycle were off by one cycle when an SU is either
the first instruction or the last instruction in a packet.

Patch by Ikhlas Ajbar.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328000 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/HexagonMachineScheduler.cpp
test/CodeGen/Hexagon/swp-stages4.ll