[Hexagon] Rework VLCR algorithm
authorKrzysztof Parzyszek <kparzysz@quicinc.com>
Mon, 1 Jul 2019 13:50:47 +0000 (13:50 +0000)
committerKrzysztof Parzyszek <kparzysz@quicinc.com>
Mon, 1 Jul 2019 13:50:47 +0000 (13:50 +0000)
commit511ad50db41013b78abfa112c2842f92123cce83
tree7d8ceb65bb44a2b5e7e67a3cde87951245a59e5e
parent1b317685e9b5813d68ab16517d932ec419c3f2ef
[Hexagon] Rework VLCR algorithm

Add code to catch pattern for commutative instructions for VLCR.

Patch by Suyog Sarda.

llvm-svn: 364770
llvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
llvm/test/CodeGen/Hexagon/hexagon_vector_loop_carried_reuse_commutative.ll [new file with mode: 0644]