[PATCH] InstCombine: form shuffles from wider range of insert/extractelements
Tim Northover
t.p.northover at gmail.com
Thu Mar 6 08:04:47 PST 2014
Hi all,
Sequences of insertelement/extractelements are sometimes used to build vectors; this code tries to put them back together into shuffles, but could only produce a completely uniform shuffle types (<N x T> from two <N x T> sources).
This should allow shuffles with different numbers of elements on the input and output sides as well.
Does it look reasonable?
Cheers.
Tim.
http://llvm-reviews.chandlerc.com/D2987
Files:
lib/Target/AArch64/AArch64InstrNEON.td
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
test/Transforms/InstCombine/insert-extract-shuffle.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2987.1.patch
Type: text/x-patch
Size: 14135 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140306/7c40a2d9/attachment.bin>
More information about the llvm-commits
mailing list