Make instcombine a little more aggressive in combining vector shuffles.
authorBob Wilson <bob.wilson@apple.com>
Fri, 29 Oct 2010 22:02:50 +0000 (22:02 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 29 Oct 2010 22:02:50 +0000 (22:02 +0000)
commit4cac5facc3a95a81ffa2c85baae001a7c509146c
treea7b8642ef9d0d1b7e4c02a26a227fea462466138
parent3df518e67edaf358154af394cc99d21435b7b118
Make instcombine a little more aggressive in combining vector shuffles.
Allow splats even if they don't match either of the original shuffles,
possibly due to undef entries in the shuffles masks.  Radar 8597790.
Also fix some 80-column violations.

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