[PATCH] D17681: [X86][AVX] Better support for the variable mask form of VPERMILPD/VPERMILPS

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 27 05:27:06 PST 2016


RKSimon created this revision.
RKSimon added reviewers: qcolombet, ab, andreadb, spatel.
RKSimon added a subscriber: llvm-commits.
RKSimon set the repository for this revision to rL LLVM.

The variable mask form of VPERMILPD/VPERMILPS were only partially implemented, with much of it still performed as an intrinsic.

This patch properly defines the instructions in terms of X86ISD::VPERMILPV, permitting the opcode to be easily combined as a target shuffle.

Repository:
  rL LLVM

http://reviews.llvm.org/D17681

Files:
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86InstrSSE.td
  lib/Target/X86/X86IntrinsicsInfo.h
  test/CodeGen/X86/vector-shuffle-combining-avx.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17681.49294.patch
Type: text/x-patch
Size: 7883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160227/ee5e0eb7/attachment.bin>


More information about the llvm-commits mailing list