[PATCH] [X86][SSE] Generalised unpackl/unpckh shuffle matching

Simon Pilgrim llvm-dev at redking.me.uk
Wed Feb 11 08:54:39 PST 2015


Hi chandlerc, qcolombet, andreadb, spatel,

The existing unpck instruction lowering was based on matching explicit shuffle patterns, and missed many alternative shuffle masks (notably commuted masks and duplicate inputs).

This patch adds lowerVectorUnpack() which can be used to thoroughly match any unpckl/unpckh pattern.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7564

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/vector-shuffle-128-v4.ll
  test/CodeGen/X86/vector-shuffle-512-v8.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7564.19764.patch
Type: text/x-patch
Size: 18643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150211/1c0b6cd1/attachment.bin>


More information about the llvm-commits mailing list