summaryrefslogtreecommitdiffstats
path: root/llvm/test
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
commitc85473143c006690cb766a008736554ad8493ff5 (patch)
treebcffbf112816e23e3f32b5a8cf98d7263e547d7e /llvm/test
parent9516eee2f25247426afb7f48284220a815c6f225 (diff)
downloadbcm5719-llvm-c85473143c006690cb766a008736554ad8493ff5.tar.gz
bcm5719-llvm-c85473143c006690cb766a008736554ad8493ff5.zip
[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. llvm-svn: 209056
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/sse3.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/sse3.ll b/llvm/test/CodeGen/X86/sse3.ll
index 6d5b19243e4..18bdcb3912b 100644
--- a/llvm/test/CodeGen/X86/sse3.ll
+++ b/llvm/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
}
OpenPOWER on IntegriCloud