[PATCH] Optimization for certain shufflevector by using insertps.

Filipe Cabecinhas filcab+llvm.phabricator at gmail.com
Fri Apr 25 16:30:16 PDT 2014


Added the optimization for v4i32 (but we emit pinsrd instead of insertps when loading from memory).
Addresses the concerns in the review, except for the load minimization, due to discussion on IRC, existing optimizations that reduce load sizes, and lack of response to my question.

http://reviews.llvm.org/D3475

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/sse41.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3475.8858.patch
Type: text/x-patch
Size: 8201 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140425/11698362/attachment.bin>


More information about the llvm-commits mailing list