[ARM][ParallelDSP] SExt mul for accumulation
authorSam Parker <sam.parker@arm.com>
Wed, 4 Sep 2019 08:41:34 +0000 (08:41 +0000)
committerSam Parker <sam.parker@arm.com>
Wed, 4 Sep 2019 08:41:34 +0000 (08:41 +0000)
commitfea532230bf4cf677d0ae6028eedf0135aa8b9e2
treead62034c85649bc6991de85498e3e47b7adbbd67
parent16d12847c1b43cbea908f6defef0be434e71d7f6
[ARM][ParallelDSP] SExt mul for accumulation

For any unpaired muls, we accumulate them as an input to the
reduction. Check the type of the mul and perform a sext if the
existing accumlator input type is not the same.

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

llvm-svn: 370851
llvm/lib/Target/ARM/ARMParallelDSP.cpp
llvm/test/CodeGen/ARM/ParallelDSP/blocks.ll
llvm/test/CodeGen/ARM/ParallelDSP/exchange.ll
llvm/test/CodeGen/ARM/ParallelDSP/overlapping.ll
llvm/test/CodeGen/ARM/ParallelDSP/pr43073.ll