]> granicus.if.org Git - llvm/commit
[ARM][ParallelDSP] Change smlad insertion order
authorSam Parker <sam.parker@arm.com>
Wed, 16 Oct 2019 09:37:03 +0000 (09:37 +0000)
committerSam Parker <sam.parker@arm.com>
Wed, 16 Oct 2019 09:37:03 +0000 (09:37 +0000)
commit6b90b027ec0d58e81c941bb2833e885cc40a89e5
tree2923885078e85a9129c31eaaec706bf8c6d775df
parent52192eb65c45baf50cde8700bfc98df2795a4c3a
[ARM][ParallelDSP] Change smlad insertion order

Instead of inserting everything after the 'root' of the reduction,
insert all instructions as close to their operands as possible. This
can help reduce register pressure.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374981 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
lib/Target/ARM/ARMParallelDSP.cpp
test/CodeGen/ARM/ParallelDSP/blocks.ll
test/CodeGen/ARM/ParallelDSP/complex_dot_prod.ll
test/CodeGen/ARM/ParallelDSP/exchange.ll
test/CodeGen/ARM/ParallelDSP/inner-full-unroll.ll
test/CodeGen/ARM/ParallelDSP/multi-use-loads.ll
test/CodeGen/ARM/ParallelDSP/overlapping.ll
test/CodeGen/ARM/ParallelDSP/pr43073.ll
test/CodeGen/ARM/ParallelDSP/smlad11.ll
test/CodeGen/ARM/ParallelDSP/smladx-1.ll
test/CodeGen/ARM/ParallelDSP/smlaldx-1.ll
test/CodeGen/ARM/ParallelDSP/smlaldx-2.ll
test/CodeGen/ARM/ParallelDSP/unroll-n-jam-smlad.ll