HomePhabricator

[ARM] Recognize VIDUP from BUILDVECTORs of additions

Authored by dmgreen on Apr 27 2021, 11:33 AM.

Description

[ARM] Recognize VIDUP from BUILDVECTORs of additions

This adds a pattern to recognize VIDUP from BUILD_VECTOR of incrementing
adds. This can come up from either geps or adds, and came up recently in
D100550. We are just looking for a BUILD_VECTOR where each lane is an
add of the first lane with N*i, where i is the lane and N is one of 1,
2, 4, or 8, supported by the VIDUP instruction.

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

Details

Committed
dmgreenApr 27 2021, 11:33 AM
Differential Revision
D101263: [ARM] Recognize VIDUP from BUILDVECTORs of additions
Parents
rG268f1963af33: [ARM] Additional VIDUP tests. NFC
Branches
Unknown
Tags
Unknown