[PATCH] InstCombine: form shuffles from wider range of insert/extractelements
t.p.northover at gmail.com
Thu Mar 6 08:04:47 PST 2014
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 14135 bytes
Desc: not available
More information about the llvm-commits