[ARM] bottom-top mul support in ARMParallelDSP
authorSam Parker <sam.parker@arm.com>
Fri, 14 Sep 2018 08:09:09 +0000 (08:09 +0000)
committerSam Parker <sam.parker@arm.com>
Fri, 14 Sep 2018 08:09:09 +0000 (08:09 +0000)
commit7b84fd78478fa80ed10565da52db630ec50b26ee
tree4726ebaa24900a896706599664a7fcf3d1a8b30e
parent3afb974aa5e8c30eb10679afbaa6db1922b0599c
[ARM] bottom-top mul support in ARMParallelDSP

On failing to find sequences that can be converted into dual macs,
try to find sequential 16-bit loads that are used by muls which we
can then use smultb, smulbt, smultt with a wide load.

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

llvm-svn: 342210
llvm/lib/Target/ARM/ARMParallelDSP.cpp
llvm/test/CodeGen/ARM/paralleldsp-top-bottom-neg.ll [new file with mode: 0644]
llvm/test/CodeGen/ARM/paralleldsp-top-bottom.ll [new file with mode: 0644]