[PATCH] D42431: [X86][AVX] LowerBUILD_VECTORAsVariablePermute - add support for VPERMILPV to v2i64/v2f64

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 23 09:51:47 PST 2018


RKSimon created this revision.
RKSimon added reviewers: zvi, craig.topper, spatel, andreadb.

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 https://reviews.llvm.org/D42308)

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


Repository:
  rL LLVM

https://reviews.llvm.org/D42431

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/var-permute-128.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42431.131098.patch
Type: text/x-patch
Size: 6009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180123/8d2e2098/attachment.bin>


More information about the llvm-commits mailing list