Extend instcombine's shufflevector simplification to handle more cases where the...
authorEli Friedman <eli.friedman@gmail.com>
Fri, 21 Oct 2011 19:06:29 +0000 (19:06 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 21 Oct 2011 19:06:29 +0000 (19:06 +0000)
commitd2822e7572e75287db66acb14b2d988a80faebdd
treeac3b2a822f0c7584fefd0fc8d39407cf78c63347
parent280dfad48940a0a51726308dd3daa3b1b0d18705
Extend instcombine's shufflevector simplification to handle more cases where the input and output vectors have different sizes.  Patch by Xiaoyi Guo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142671 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
test/Transforms/InstCombine/vec_shuffle.ll