[PATCH] Match new shuffle codegen for MOVHPD patterns (PR21791)

Sanjay Patel spatel at rotateright.com
Tue Dec 9 16:31:21 PST 2014


Hi hfinkel, delena, andreadb, RKSimon,

This patch adds patterns to match SSE (shufpd) and AVX (vpermilpd) shuffle codegen when storing the high element of a v2f64. The existing patterns were only checking for an unpckh type of shuffle. ( http://llvm.org/bugs/show_bug.cgi?id=21791 )

http://reviews.llvm.org/D6586

Files:
  lib/Target/X86/X86InstrSSE.td
  test/CodeGen/X86/extractelement-load.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6586.17101.patch
Type: text/x-patch
Size: 4570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141210/e1fbad75/attachment.bin>


More information about the llvm-commits mailing list