[PATCH] [X86][SSE] Improvements to byte shift shuffle matching

Simon Pilgrim llvm-dev at redking.me.uk
Tue Nov 25 11:30:35 PST 2014


Hi chandlerc, qcolombet, andreadb, spatel,

Building on http://reviews.llvm.org/D5699

Since (v)pslldq / (v)psrldq instructions resolve to a single input argument it is useful to match it much earlier than we currently do - this prevents more complicated shuffles (notably insertion into a zero vector) matching before it.

http://reviews.llvm.org/D6409

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/combine-or.ll
  test/CodeGen/X86/vector-shuffle-128-v2.ll
  test/CodeGen/X86/vector-shuffle-128-v4.ll
  test/CodeGen/X86/vector-shuffle-128-v8.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6409.16629.patch
Type: text/x-patch
Size: 9420 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141125/fd38379b/attachment.bin>


More information about the llvm-commits mailing list