summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-10-07 17:57:22 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-10-07 17:57:22 +0000
commit9508fe7924bf998bc824a3a70e175c215b20a052 (patch)
treebfa28bcfc037dfd7d7ea0f9bc34b5e35f08fdda8 /llvm/test
parent70e1db78dbf456bb4be15ef70385fb81fdedc000 (diff)
downloadbcm5719-llvm-9508fe7924bf998bc824a3a70e175c215b20a052.tar.gz
bcm5719-llvm-9508fe7924bf998bc824a3a70e175c215b20a052.zip
[X86][SSE] Match bitcasted BUILD_VECTOR of constants for v2i64 shifts on 64-bit targets (PR34855)
Extension to rL315155, generate constant shifts on 64-bits as well as 32-bits. llvm-svn: 315156
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/pr34855.ll6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/X86/pr34855.ll b/llvm/test/CodeGen/X86/pr34855.ll
index 286d7d2fe84..989c943ac03 100644
--- a/llvm/test/CodeGen/X86/pr34855.ll
+++ b/llvm/test/CodeGen/X86/pr34855.ll
@@ -18,12 +18,6 @@ define void @PR34855(<2 x i32> *%p0, <2 x i32> *%p1, <2 x i32> *%p2) {
; X64-NEXT: movslq (%rdi), %rax
; X64-NEXT: movq %rax, %xmm1
; X64-NEXT: punpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm0[0]
-; X64-NEXT: pxor %xmm0, %xmm0
-; X64-NEXT: movdqa {{.*#+}} xmm2 = [9223372036854775808,9223372036854775808]
-; X64-NEXT: psrlq %xmm0, %xmm2
-; X64-NEXT: psrlq %xmm0, %xmm1
-; X64-NEXT: pxor %xmm2, %xmm1
-; X64-NEXT: psubq %xmm2, %xmm1
; X64-NEXT: pshufd {{.*#+}} xmm0 = xmm1[0,2,2,3]
; X64-NEXT: movq %xmm0, (%rdx)
; X64-NEXT: retq
OpenPOWER on IntegriCloud