HomePhabricator

[ARM] Combines for VMOVN

Authored by dmgreen on Sat, May 16, 7:12 AM.

Description

[ARM] Combines for VMOVN

This adds two combines for VMOVN, one to fold
VMOVN[tb](c, VQMOVNb(a, b)) => VQMOVN[tb](c, b)
The other to perform demand bits analysis on the lanes of a VMOVN. We
know that only the bottom lanes of the second operand and the top or
bottom lanes of the Qd operand are needed in the result, depending on if
the VMOVN is bottom or top.

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

Details

Committed
dmgreenSat, May 16, 7:13 AM
Differential Revision
D77718: [ARM] Combines for VMOVN
Parents
rG2e1fbf85b65d: [ARM] MVE saturating truncates
Branches
Unknown
Tags
Unknown