Turn (cast (shuffle (cast)) -> shuffle (cast) if it reduces the # casts in
authorChris Lattner <sabre@nondot.org>
Thu, 25 May 2006 23:24:33 +0000 (23:24 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 25 May 2006 23:24:33 +0000 (23:24 +0000)
commit01575b73151e7df62075cc0e5eed656f5ca5c088
treead7f23e032fa0e23a2f3b4a90c4cc948de6531e8
parent8e8a511b580a9f620cbe87efa4f8e64affdfa186
Turn (cast (shuffle (cast)) -> shuffle (cast) if it reduces the # casts in
the program.  This exposes more opportunities for the instcombiner, and implements
vec_shuffle.ll:test6

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28487 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp