]> granicus.if.org Git - llvm/commit
[Pipeliner] Fix offset value for instrs dependent on post-inc load/stores
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 11 Oct 2017 15:59:51 +0000 (15:59 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 11 Oct 2017 15:59:51 +0000 (15:59 +0000)
commite9c467fc40594ac5a88b63da2433061546f82fe8
treeb118575841ec2ee48a1ac05c9829c45515ebeb00
parent9f806a04386a6ec08cc976286b9bf998438fc803
[Pipeliner] Fix offset value for instrs dependent on post-inc load/stores

The software pipeliner and the packetizer try to break dependence
between the post-increment instruction and the dependent memory
instructions by changing the base register and the offset value.
However, in some cases, the existing logic didn't work properly
and created incorrect offset value.

Patch by Jyotsna Verma.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315468 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachinePipeliner.cpp
lib/Target/Hexagon/HexagonInstrInfo.cpp