This is an archive of the discontinued LLVM Phabricator instance.

[X86][AVX] LowerBUILD_VECTORAsVariablePermute - add support for VPERMILPV to v2i64/v2f64
ClosedPublic

Authored by RKSimon on Jan 23 2018, 9:50 AM.

Details

Summary

Minor refactor to make it possible for LowerBUILD_VECTORAsVariablePermute to be used with a wider variety of shuffles op and types.

I'd have liked to add v4i32/v4f32 support as well but we don't see v4i32 index extractions at the moment (which is why I created D42308)

After this I intend to begin adding scaling support for PSHUFB (v8i16, v4i32, v2i64)) and VPERMPS (v4f64, v4i64).

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon created this revision.Jan 23 2018, 9:50 AM
zvi accepted this revision.Jan 23 2018, 11:19 AM

LGTM

This revision is now accepted and ready to land.Jan 23 2018, 11:19 AM
This revision was automatically updated to reflect the committed changes.