summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/sse3.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-06-24 22:23:02 +0000
committerDan Gohman <gohman@apple.com>2010-06-24 22:23:02 +0000
commitfe5e4dabbf05f3b7b8c6d652adb6b500e5dec8cd (patch)
tree619dbedc7b8ae8534fca64d1c00849787ab73213 /test/CodeGen/X86/sse3.ll
parentf241b26792c12ca1819685d8640ea08d676c9cc0 (diff)
downloadllvm-fe5e4dabbf05f3b7b8c6d652adb6b500e5dec8cd.tar.gz
llvm-fe5e4dabbf05f3b7b8c6d652adb6b500e5dec8cd.tar.bz2
llvm-fe5e4dabbf05f3b7b8c6d652adb6b500e5dec8cd.tar.xz
Teach EmitLiveInCopies to omit copies for unused virtual registers,
and to clean up unused incoming physregs from the live-in list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106805 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/sse3.ll')
-rw-r--r--test/CodeGen/X86/sse3.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/sse3.ll b/test/CodeGen/X86/sse3.ll
index b969ecb414..206cdff1ba 100644
--- a/test/CodeGen/X86/sse3.ll
+++ b/test/CodeGen/X86/sse3.ll
@@ -63,10 +63,10 @@ define <8 x i16> @t4(<8 x i16> %A, <8 x i16> %B) nounwind {
ret <8 x i16> %tmp
; X64: t4:
; X64: pextrw $7, %xmm0, %eax
-; X64: pshufhw $100, %xmm0, %xmm2
-; X64: pinsrw $1, %eax, %xmm2
+; X64: pshufhw $100, %xmm0, %xmm1
+; X64: pinsrw $1, %eax, %xmm1
; X64: pextrw $1, %xmm0, %eax
-; X64: movdqa %xmm2, %xmm0
+; X64: movdqa %xmm1, %xmm0
; X64: pinsrw $4, %eax, %xmm0
; X64: ret
}