[PATCH] D38506: [X86][SSE] Improve shuffling combining with horizontal operations
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 3 08:15:29 PDT 2017
RKSimon created this revision.
Recognise cases when we can merge the shuffles with their horizontal (HADD/HSUB/PACK) instruction inputs.
Replaces an older implementation which performed some of this during lowering, expanding an existing target shuffle combine stage instead.
Repository:
rL LLVM
https://reviews.llvm.org/D38506
Files:
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/bitcast-and-setcc-256.ll
test/CodeGen/X86/bitcast-and-setcc-512.ll
test/CodeGen/X86/horizontal-shuffle.ll
test/CodeGen/X86/psubus.ll
test/CodeGen/X86/vector-compare-results.ll
test/CodeGen/X86/vector-trunc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38506.117531.patch
Type: text/x-patch
Size: 45980 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171003/998a2b0a/attachment.bin>
More information about the llvm-commits
mailing list