[all-commits] [llvm/llvm-project] 6cfd38: [ARM] Fixup single source mla reductions.
David Green via All-commits
all-commits at lists.llvm.org
Sat Sep 12 06:31:51 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6cfd38d03d5fc3cde929ebf82529415595e8ef8e
https://github.com/llvm/llvm-project/commit/6cfd38d03d5fc3cde929ebf82529415595e8ef8e
Author: David Green <david.green at arm.com>
Date: 2020-09-12 (Sat, 12 Sep 2020)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/test/CodeGen/Thumb2/mve-vecreduce-mla.ll
M llvm/test/CodeGen/Thumb2/mve-vecreduce-mlapred.ll
Log Message:
-----------
[ARM] Fixup single source mla reductions.
This fixes a complication on top of D87276. If we are sign extending
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.
Differnetial Revision: https://reviews.llvm.org/D87287
More information about the All-commits
mailing list