[PATCH] [DagCombiner] Allow shuffles to merge through bitcasts
Simon Pilgrim
llvm-dev at redking.me.uk
Wed Mar 4 07:22:33 PST 2015
Thanks Quentin. The assert for re-scalable scalar types has been changed into part of the type legality test - I've also used that opportunity to remove the code duplication between scaling the inner or outer shuffles. I've also updated the tests to use undef where possible.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D7939
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/2013-02-12-ShuffleToZext.ll
test/CodeGen/X86/vector-shuffle-128-v16.ll
test/CodeGen/X86/vector-shuffle-128-v2.ll
test/CodeGen/X86/vector-shuffle-128-v4.ll
test/CodeGen/X86/vector-shuffle-256-v4.ll
test/CodeGen/X86/vector-shuffle-mmx.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7939.21198.patch
Type: text/x-patch
Size: 11420 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150304/1cc5d5de/attachment.bin>
More information about the llvm-commits
mailing list