HomePhabricator

[X86][AVX] Fold extract_subvector(truncate(x),0) -> truncate(extract_subvector…

Authored by RKSimon on Mon, Jul 27, 6:32 AM.

Description

[X86][AVX] Fold extract_subvector(truncate(x),0) -> truncate(extract_subvector(x),0)

This is currently only supported for VLX targets where the op should be legal.

Details

Committed
RKSimonMon, Jul 27, 6:51 AM
Parents
rGf720c9c68c70: [X86] combineExtractSubvector - pull out repeated getSizeInBits() calls. NFCI.
Branches
Unknown
Tags
Unknown