[PATCH] D42487: [X86][SSE] LowerBUILD_VECTORAsVariablePermute - add support for scaling index vectors

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 24 08:40:03 PST 2018


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

This allows us to use PSHUFB for v8i16 (and v4i32 after https://reviews.llvm.org/D42308) and VPERMD/PERMPS for v4i64/v4f64 variable shuffles.


Repository:
  rL LLVM

https://reviews.llvm.org/D42487

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42487.131278.patch
Type: text/x-patch
Size: 20851 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180124/82ee0e4b/attachment.bin>


More information about the llvm-commits mailing list