summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/sse3.ll
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-05-18 06:42:06 +0000
committerCraig Topper <craig.topper@gmail.com>2012-05-18 06:42:06 +0000
commitb82b5abf78549119a88a106e161f32bcf04a2d41 (patch)
tree6eee944eeea3d1ae1f8f05a5086c2c9c6e6eb3e9 /test/CodeGen/X86/sse3.ll
parentad753648155590f1c70bd168e8cf11a414957387 (diff)
downloadllvm-b82b5abf78549119a88a106e161f32bcf04a2d41.tar.gz
llvm-b82b5abf78549119a88a106e161f32bcf04a2d41.tar.bz2
llvm-b82b5abf78549119a88a106e161f32bcf04a2d41.tar.xz
Simplify handling of v16i8 shuffles and fix a missed optimization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157043 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/sse3.ll')
-rw-r--r--test/CodeGen/X86/sse3.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/CodeGen/X86/sse3.ll b/test/CodeGen/X86/sse3.ll
index 5ea1b4dff1..48638b3b69 100644
--- a/test/CodeGen/X86/sse3.ll
+++ b/test/CodeGen/X86/sse3.ll
@@ -249,9 +249,10 @@ entry:
; X64: t16:
; X64: pextrw $8, %xmm0, %eax
; X64: pslldq $2, %xmm0
-; X64: movd %xmm0, %ecx
-; X64: pextrw $1, %xmm0, %edx
-; X64: pinsrw $0, %ecx, %xmm0
+; X64: pextrw $1, %xmm0, %ecx
+; X64: movzbl %cl, %ecx
+; X64: orl %eax, %ecx
+; X64: pinsrw $1, %ecx, %xmm0
; X64: ret
}