Fixed optimization of combining two shuffles where the first shuffle inputs
authorMon P Wang <wangmp@apple.com>
Mon, 26 Jan 2009 04:39:00 +0000 (04:39 +0000)
committerMon P Wang <wangmp@apple.com>
Mon, 26 Jan 2009 04:39:00 +0000 (04:39 +0000)
commitfe6d2cd9d169894b0263df8c5f26df663f4f0ea8
tree63e6d9cd531bc06aee57f5e3c468529c55b63a8f
parente7852d014432a06c783de3c350eb96e686f10f92
Fixed optimization of combining two shuffles where the first shuffle inputs
has a different number of elements than the output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62998 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/vec_shuffle2.ll [new file with mode: 0644]