[PATCH] [X86][SSE] Improve matching of SSE blend instructions with splatted vector inputs

Simon Pilgrim llvm-dev at redking.me.uk
Sun Dec 14 05:11:28 PST 2014


Hi chandlerc, andreadb,

If the input to a shuffle is safely splatted (i.e. no undef) then the SSE blend instructions can use any lane from that input to match against.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6652

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/combine-or.ll
  test/CodeGen/X86/vector-blend.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6652.17262.patch
Type: text/x-patch
Size: 4438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141214/97c6950b/attachment.bin>


More information about the llvm-commits mailing list