[PATCH] [x86] Teach the target combine step to aggressively fold pshufd insturcions.
Chandler Carruth
chandlerc at gmail.com
Wed Jun 25 06:57:10 PDT 2014
Hi grosbach, filcab,
This allows it to fold pshufd instructions across intervening
half-shuffles and other noise. This pattern actually shows up in the
generic lowering tests, but I've also added direct tests using
intrinsics to make sure that the specific desired functionality is
working even if the lowering stuff changes in the future.
http://reviews.llvm.org/D4292
Files:
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-shuffle-128-v8.ll
test/CodeGen/X86/vector-shuffle-combining.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4292.10835.patch
Type: text/x-patch
Size: 7592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140625/601517de/attachment.bin>
More information about the llvm-commits
mailing list