diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-12-07 21:43:11 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-12-07 21:43:11 +0000 |
commit | af59e9adbd4c972d480d58260b03768c85eb2067 (patch) | |
tree | 394a45431b1053aa03cd907b52b102394461c5fc /test/CodeGen/X86/2011-12-28-vselecti8.ll | |
parent | 829c8bd98db63bc57f2e6c21bfcd5464f08ef548 (diff) | |
download | llvm-af59e9adbd4c972d480d58260b03768c85eb2067.tar.gz llvm-af59e9adbd4c972d480d58260b03768c85eb2067.tar.bz2 llvm-af59e9adbd4c972d480d58260b03768c85eb2067.tar.xz |
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
Diffstat (limited to 'test/CodeGen/X86/2011-12-28-vselecti8.ll')
-rw-r--r-- | test/CodeGen/X86/2011-12-28-vselecti8.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2011-12-28-vselecti8.ll b/test/CodeGen/X86/2011-12-28-vselecti8.ll index dbc122ac6e..1a9d46d1e2 100644 --- a/test/CodeGen/X86/2011-12-28-vselecti8.ll +++ b/test/CodeGen/X86/2011-12-28-vselecti8.ll @@ -5,7 +5,7 @@ target triple = "x86_64-apple-darwin11.2.0" ; CHECK: @foo8 ; CHECK: psll -; CHECK: psraw +; CHECK-NOT: psraw ; CHECK: pblendvb ; CHECK: ret define void @foo8(float* nocapture %RET) nounwind { |