HomePhabricator

[ARM] Fixup single source mla reductions.

Authored by dmgreen on Sep 12 2020, 6:31 AM.

Description

[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

Details

Committed
dmgreenSep 12 2020, 6:31 AM
Parents
rG3a8ea8609b82: [Intrinsics] define semantics for experimental fmax/fmin vector reductions
Branches
Unknown
Tags
Unknown