When we use the BLEND instruction that uses the MSB as a mask, we can remove
authorNadav Rotem <nrotem@apple.com>
Fri, 7 Dec 2012 21:43:11 +0000 (21:43 +0000)
committerNadav Rotem <nrotem@apple.com>
Fri, 7 Dec 2012 21:43:11 +0000 (21:43 +0000)
commitad0b5fbe8c60b46de44f5f484cfb0995ef333423
tree3867dc41ca2480c9a5ab6bd96a202ea8eca203ba
parente76c1e5aec61970f688a0ae8611b2041b5e10fd8
When we use the BLEND instruction that uses the MSB as a mask, we can remove
the VSRI instruction before it since it does not affect the MSB.

Thanks Craig Topper for suggesting this.

llvm-svn: 169638
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/2011-12-28-vselecti8.ll
llvm/test/CodeGen/X86/blend-msb.ll