[PATCH] D87287: [ARM] Fixup single source mla reductions.
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 06:58:56 PDT 2020
dmgreen created this revision.
dmgreen added reviewers: simon_tatham, SjoerdMeijer, samparker, efriedma, samtebbs.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
dmgreen requested review of this revision.
This fixes a complication on top of D87276 <https://reviews.llvm.org/D87276>. If we are sext-ing around a mul with the two operands that are the same, instcombine will helpfully convert one of the sext to a zext. Reverse that so that we again generate a reduction.
https://reviews.llvm.org/D87287
Files:
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/Thumb2/mve-vecreduce-mla.ll
llvm/test/CodeGen/Thumb2/mve-vecreduce-mlapred.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87287.290464.patch
Type: text/x-patch
Size: 36156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200908/547302e3/attachment.bin>
More information about the llvm-commits
mailing list