summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitbd05185ef12881b1b55a9fdf262fc0e6ede7ccc6 (patch)
treef10d84f7dc7f98124071f59028fd606b4103fe63 /llvm/test/CodeGen/X86/sse3.ll
parentb6a3dd48f4a27215f01da1fa8a9685fedb7d71c2 (diff)
downloadbcm5719-llvm-bd05185ef12881b1b55a9fdf262fc0e6ede7ccc6.tar.gz
bcm5719-llvm-bd05185ef12881b1b55a9fdf262fc0e6ede7ccc6.zip
Fix a couple of shuffle patterns to use movhlps instead
of movhps as the constraint. Changes optimizations so update testcases as appropriate as well. llvm-svn: 86360
Diffstat (limited to 'llvm/test/CodeGen/X86/sse3.ll')
-rw-r--r--llvm/test/CodeGen/X86/sse3.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/sse3.ll b/llvm/test/CodeGen/X86/sse3.ll
index 6319cb887af..21c1a3c8122 100644
--- a/llvm/test/CodeGen/X86/sse3.ll
+++ b/llvm/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
}
OpenPOWER on IntegriCloud