OSDN Git Service

[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)
commitdfd2a391d04441ef7dee41cc5fcb536047d902b1
tree057d87259063e5dd757843c4b2d51fb318a9e376
parent29fbd6fadb6d2747686e041597a8c0fd30057640
[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!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314642 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
test/CodeGen/Hexagon/hexagon_vector_loop_carried_reuse_constant.ll [new file with mode: 0644]