summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/sse3.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2009-11-07 08:45:53 +0000
committerEric Christopher <echristo@apple.com>2009-11-07 08:45:53 +0000
commit761411c21b27c5a7fd2368f0a35d312013f2b5c5 (patch)
treee5ad72e3f8b84c44a823b7834f886453a781f3af /test/CodeGen/X86/sse3.ll
parent4de9b7f51f81acbc36e9fd17042b14bb40149c6c (diff)
downloadllvm-761411c21b27c5a7fd2368f0a35d312013f2b5c5.tar.gz
llvm-761411c21b27c5a7fd2368f0a35d312013f2b5c5.tar.bz2
llvm-761411c21b27c5a7fd2368f0a35d312013f2b5c5.tar.xz
Fix a couple of shuffle patterns to use movhlps instead
of movhps as the constraint. Changes optimizations so update testcases as appropriate as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86360 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/sse3.ll')
-rw-r--r--test/CodeGen/X86/sse3.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/X86/sse3.ll b/test/CodeGen/X86/sse3.ll
index 6319cb887a..21c1a3c812 100644
--- a/test/CodeGen/X86/sse3.ll
+++ b/test/CodeGen/X86/sse3.ll
@@ -145,7 +145,9 @@ define void @t9(<4 x float>* %r, <2 x i32>* %A) nounwind {
ret void
; X64: t9:
; X64: movsd (%rsi), %xmm0
-; X64: movhps %xmm0, (%rdi)
+; X64: movaps (%rdi), %xmm1
+; X64: movlhps %xmm0, %xmm1
+; X64: movaps %xmm1, (%rdi)
; X64: ret
}