[Pipeliner] Ignore Artificial dependences while computing recurrences.
authorSumanth Gundapaneni <sgundapa@codeaurora.org>
Thu, 25 Oct 2018 21:27:08 +0000 (21:27 +0000)
committerSumanth Gundapaneni <sgundapa@codeaurora.org>
Thu, 25 Oct 2018 21:27:08 +0000 (21:27 +0000)
commitada0f511bab411bec043fa4736c82796629726b9
tree312ca15d533ab23142dcd1fcfd432f7405dd4159
parentdfdbc716e48dfc5ecad8e5b3131bf1aae0a1eda2
[Pipeliner] Ignore Artificial dependences while computing recurrences.

The artificial dependencies are not real dependencies. In some cases, they
form circuits with bigger MII. However, they are used to schedule instructions
better.

Differential Revision: https://reviews.llvm.org/D53450

llvm-svn: 345319
llvm/lib/CodeGen/MachinePipeliner.cpp
llvm/test/CodeGen/Hexagon/swp-art-deps-rec.ll [new file with mode: 0644]