HomePhabricator

[X86][AVX] createVariablePermute - generalize the PR50356 fix for smaller…

Authored by RKSimon on May 19 2021, 6:13 AM.

Description

[X86][AVX] createVariablePermute - generalize the PR50356 fix for smaller indices vector as well

Generalize the fix from rGd0902a8665b1 by ensuring we widen/narrow the indices subvector first and then perform the ZERO_EXTEND_VECTOR_INREG (if necessary), which should allow us to perform the variable permutes with source/destination/indices vectors of any widths.

Details

Committed
RKSimonMay 19 2021, 6:39 AM
Parents
rGb14f9a1ebd7b: [X86][Atom] Fix vector integer shift by immediate resource/throughputs
Branches
Unknown
Tags
Unknown