]> granicus.if.org Git - llvm/commit
[ARM][ParallelDSP] Replace SExt uses
authorSam Parker <sam.parker@arm.com>
Fri, 9 Aug 2019 07:48:50 +0000 (07:48 +0000)
committerSam Parker <sam.parker@arm.com>
Fri, 9 Aug 2019 07:48:50 +0000 (07:48 +0000)
commit041d8d71e8a016f1fa381aa4f9e1c400190400a1
tree4c4f7ad29f4f9b03110a3f80cf5fa1e1cc75f34e
parent378a591f3735eee70899bebc681f5767b2125e36
[ARM][ParallelDSP] Replace SExt uses

As loads are combined and widened, we replaced their sext users
operands whereas we should have been replacing the uses of the sext.
I've added a load of tests, with only a few of them originally
causing assertion failures, the rest improve pattern coverage.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368404 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMParallelDSP.cpp
test/CodeGen/ARM/ParallelDSP/blocks.ll
test/CodeGen/ARM/ParallelDSP/exchange.ll [new file with mode: 0644]
test/CodeGen/ARM/ParallelDSP/overlapping.ll [new file with mode: 0644]