[llvm] r269920 - [X86][SSE3] Sync with clang/test/CodeGen/sse3-builtins.c
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed May 18 06:16:31 PDT 2016
Author: rksimon
Date: Wed May 18 08:16:31 2016
New Revision: 269920
URL: http://llvm.org/viewvc/llvm-project?rev=269920&view=rev
Log:
[X86][SSE3] Sync with clang/test/CodeGen/sse3-builtins.c
Modified:
llvm/trunk/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll
Modified: llvm/trunk/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll?rev=269920&r1=269919&r2=269920&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll (original)
+++ llvm/trunk/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll Wed May 18 08:16:31 2016
@@ -94,7 +94,7 @@ define <4 x float> @test_mm_hsub_ps(<4 x
}
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
; 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
}
More information about the llvm-commits
mailing list