diff options
author | Nate Begeman <natebegeman@mac.com> | 2010-03-24 20:49:50 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2010-03-24 20:49:50 +0000 |
commit | 583e05d8ce8a73deb84d5b4e78fa30fa98ff22a1 (patch) | |
tree | 1038648c05b7b4a099cda7aa6e8e748752ee0c6c /llvm/test/CodeGen/X86/vec_set.ll | |
parent | cc9c92cfc2f4828f4c8f7aa418609b554da67bff (diff) | |
download | bcm5719-llvm-583e05d8ce8a73deb84d5b4e78fa30fa98ff22a1.tar.gz bcm5719-llvm-583e05d8ce8a73deb84d5b4e78fa30fa98ff22a1.zip |
BUILD_VECTOR was missing out on some prime opportunities to use SSE 4.1 inserts.
llvm-svn: 99423
Diffstat (limited to 'llvm/test/CodeGen/X86/vec_set.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/vec_set.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/vec_set.ll b/llvm/test/CodeGen/X86/vec_set.ll index c316df887c1..7f5f8dd213a 100644 --- a/llvm/test/CodeGen/X86/vec_set.ll +++ b/llvm/test/CodeGen/X86/vec_set.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=x86 -mattr=+sse2 | grep punpckl | count 7 +; RUN: llc < %s -march=x86 -mattr=+sse2,-sse41 | grep punpckl | count 7 define void @test(<8 x i16>* %b, i16 %a0, i16 %a1, i16 %a2, i16 %a3, i16 %a4, i16 %a5, i16 %a6, i16 %a7) nounwind { %tmp = insertelement <8 x i16> zeroinitializer, i16 %a0, i32 0 ; <<8 x i16>> [#uses=1] |