Skip to content

Commit

Permalink
[X86][SSE3] Sync with clang/test/CodeGen/sse3-builtins.c
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269920 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
RKSimon committed May 18, 2016
1 parent ae88dc4 commit ddbf920
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/CodeGen/X86/sse3-intrinsics-fast-isel.ll
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
Expand Down

0 comments on commit ddbf920

Please sign in to comment.