summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-05-18 13:16:31 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-05-18 13:16:31 +0000
commit0b0a58315142f03ec89516b191a40a22559aa93b (patch)
tree42f5b7e301cac62a590f91654d29ad9a352e3b14 /llvm/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll
parent3b4ea12e14890275b6945eb934a346f66d0ed6d4 (diff)
downloadbcm5719-llvm-0b0a58315142f03ec89516b191a40a22559aa93b.tar.gz
bcm5719-llvm-0b0a58315142f03ec89516b191a40a22559aa93b.zip
[X86][SSE3] Sync with clang/test/CodeGen/sse3-builtins.c
llvm-svn: 269920
Diffstat (limited to 'llvm/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll')
-rw-r--r--llvm/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll b/llvm/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll
index 44e4a8c96a0..0111de2f521 100644
--- a/llvm/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll
+++ b/llvm/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll
@@ -94,7 +94,7 @@ define <4 x float> @test_mm_hsub_ps(<4 x float> %a0, <4 x float> %a1) {
}
declare <4 x float> @llvm.x86.sse3.hsub.ps(<4 x float>, <4 x float>) nounwind readnone
-define <2 x i64> @test_mm_lddqu_si128(i8* %a0) {
+define <2 x i64> @test_mm_lddqu_si128(<2 x i64>* %a0) {
; X32-LABEL: test_mm_lddqu_si128:
; X32: # BB#0:
; X32-NEXT: movl {{[0-9]+}}(%esp), %eax
@@ -105,7 +105,8 @@ define <2 x i64> @test_mm_lddqu_si128(i8* %a0) {
; X64: # BB#0:
; X64-NEXT: lddqu (%rdi), %xmm0
; X64-NEXT: retq
- %call = call <16 x i8> @llvm.x86.sse3.ldu.dq(i8* %a0)
+ %bc = bitcast <2 x i64>* %a0 to i8*
+ %call = call <16 x i8> @llvm.x86.sse3.ldu.dq(i8* %bc)
%res = bitcast <16 x i8> %call to <2 x i64>
ret <2 x i64> %res
}
OpenPOWER on IntegriCloud