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)
commitaf59e9adbd4c972d480d58260b03768c85eb2067
tree394a45431b1053aa03cd907b52b102394461c5fc
parent829c8bd98db63bc57f2e6c21bfcd5464f08ef548
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169638 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/2011-12-28-vselecti8.ll
test/CodeGen/X86/blend-msb.ll