Use unpcklpd for v2f64 splat.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 29 Mar 2006 18:59:48 +0000 (18:59 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 29 Mar 2006 18:59:48 +0000 (18:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27249 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/vec_splat.ll

index 2d4bd2d5f01d88cb337a9756502edbe9e0f59475..97ec1b8020a3209ab079e4b6cf6fa02ac70bcc5d 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep shufps
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movlhps
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep unpcklpd
 
 void %test_v4sf(<4 x float>* %P, <4 x float>* %Q, float %X) {
        %tmp = insertelement <4 x float> zeroinitializer, float %X, uint 0