[Hexagon] Check vector elements for equivalence in the HexagonVectorLoopCarriedReuse...
authorRon Lieberman <ronl@codeaurora.org>
Mon, 2 Oct 2017 00:34:07 +0000 (00:34 +0000)
committerRon Lieberman <ronl@codeaurora.org>
Mon, 2 Oct 2017 00:34:07 +0000 (00:34 +0000)
commit9bcdd80b66d45242599343c2a78ab7806662feff
treec0ea8b55d4658575df346ee5dca0b3f83b0949ac
parentf90493d220acae49407a6142c9ddd6841c11fc2b
[Hexagon] Check vector elements for equivalence in the HexagonVectorLoopCarriedReuse pass

    If the two instructions being compared for equivalence have corresponding operands
    that are integer constants, then check their values to determine equivalence.

    Patch by Suyog Sarda!

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