Fix a bug in the 'shuffle(undef,x,mask) -> shuffle(x, undef,mask')' xform
authorChris Lattner <sabre@nondot.org>
Sun, 16 Apr 2006 00:51:47 +0000 (00:51 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 16 Apr 2006 00:51:47 +0000 (00:51 +0000)
commit7f6cc0ccb515f5d80f922111cd45407b99439a3b
treefb72015eb5ead2b792ef839db342156be94d483c
parent706126dac165785b5d5bb15157b48094733ee7f3
Fix a bug in the 'shuffle(undef,x,mask) -> shuffle(x, undef,mask')' xform
Make the insert/extract elt -> shuffle code more aggressive.

This fixes CodeGen/PowerPC/vec_shuffle.ll

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