summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/sse3.ll
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-05-17 03:29:20 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-05-17 03:29:20 +0000
commit2ff4a493445d271121592041fd7fd00a31fd2a80 (patch)
tree5946259fc0229a9b68c2b075b27d768f80a01676 /test/CodeGen/X86/sse3.ll
parentbf6e3f925757fcdb57b4a0ba5a71ceedf95f32e4 (diff)
downloadllvm-2ff4a493445d271121592041fd7fd00a31fd2a80.tar.gz
llvm-2ff4a493445d271121592041fd7fd00a31fd2a80.tar.bz2
llvm-2ff4a493445d271121592041fd7fd00a31fd2a80.tar.xz
[x86] Fix a bad predicate I spotted by inspection -- pshufhw and pshuflw
were added in SSE2, no SSSE3. Found this while auditing all uses of SSSE3 in the X86 target. I don't actually expect this to make a significant difference on anything and I don't have any detailed test cases but I updated the existing test cases that already covered some of this code path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209056 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/sse3.ll')
-rw-r--r--test/CodeGen/X86/sse3.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/sse3.ll b/test/CodeGen/X86/sse3.ll
index 6d5b19243e..18bdcb3912 100644
--- a/test/CodeGen/X86/sse3.ll
+++ b/test/CodeGen/X86/sse3.ll
@@ -209,7 +209,7 @@ entry:
; X64-LABEL: t13:
; X64: punpcklqdq %xmm0, %xmm1
; X64: pextrw $3, %xmm1, %eax
-; X64: pshufd $52, %xmm1, %xmm0
+; X64: pshufhw $12, %xmm1, %xmm0
; X64: pinsrw $4, %eax, %xmm0
; X64: ret
}