diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-01-26 11:14:32 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-01-26 11:14:32 +0000 |
commit | 6bbc1421ce21388a3946a1f6db97b91b250c574f (patch) | |
tree | 3fe32800f8d1b61224e3be6187fccd547a517a95 /test/CodeGen/X86/vec_splat-2.ll | |
parent | 3802947dec01dcf95d1b4b6545e88e549744e2b1 (diff) | |
download | llvm-6bbc1421ce21388a3946a1f6db97b91b250c574f.tar.gz llvm-6bbc1421ce21388a3946a1f6db97b91b250c574f.tar.bz2 llvm-6bbc1421ce21388a3946a1f6db97b91b250c574f.tar.xz |
FileCheckize and merge some tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/vec_splat-2.ll')
-rw-r--r-- | test/CodeGen/X86/vec_splat-2.ll | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/CodeGen/X86/vec_splat-2.ll b/test/CodeGen/X86/vec_splat-2.ll index f105de4d97..5c668b7e5a 100644 --- a/test/CodeGen/X86/vec_splat-2.ll +++ b/test/CodeGen/X86/vec_splat-2.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=x86 -mcpu=penryn -mattr=+sse2 | grep pshufd | count 1 +; RUN: llc < %s -march=x86 -mcpu=pentium4 -mattr=+sse2 | FileCheck %s define void @test(<2 x i64>* %P, i8 %x) nounwind { %tmp = insertelement <16 x i8> zeroinitializer, i8 %x, i32 0 ; <<16 x i8>> [#uses=1] @@ -23,4 +23,11 @@ define void @test(<2 x i64>* %P, i8 %x) nounwind { %tmp73.upgrd.1 = bitcast <16 x i8> %tmp73 to <2 x i64> ; <<2 x i64>> [#uses=1] store <2 x i64> %tmp73.upgrd.1, <2 x i64>* %P ret void + +; CHECK: test: +; CHECK-NOT: pshufd +; CHECK: punpcklbw +; CHECK: punpcklbw +; CHECK: pshufd $0 +; CHECK-NOT: pshufd } |