From: Simon Pilgrim Date: Wed, 29 Jun 2016 14:04:08 +0000 (+0000) Subject: [X86][SSE2] Updated tests to match llvm\test\CodeGen\X86\sse2-intrinsics-fast-isel... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f57c65083ce901e984d6456f8a9f1d78b0f1e7f;p=clang [X86][SSE2] Updated tests to match llvm\test\CodeGen\X86\sse2-intrinsics-fast-isel-x86_64.ll git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274126 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/sse2-builtins.c b/test/CodeGen/sse2-builtins.c index d5aae2276a..b340d1a275 100644 --- a/test/CodeGen/sse2-builtins.c +++ b/test/CodeGen/sse2-builtins.c @@ -701,6 +701,14 @@ __m128i test_mm_loadu_si128(__m128i const* A) { return _mm_loadu_si128(A); } +__m128i test_mm_loadu_si64(void const* A) { + // CHECK-LABEL: test_mm_loadu_si64 + // CHECK: load i64, i64* %{{.*}}, align 1{{$}} + // CHECK: insertelement <2 x i64> undef, i64 %{{.*}}, i32 0 + // CHECK: insertelement <2 x i64> %{{.*}}, i64 0, i32 1 + return _mm_loadu_si64(A); +} + __m128i test_mm_madd_epi16(__m128i A, __m128i B) { // CHECK-LABEL: test_mm_madd_epi16 // CHECK: call <4 x i32> @llvm.x86.sse2.pmadd.wd(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}) @@ -1532,12 +1540,3 @@ __m128i test_mm_xor_si128(__m128i A, __m128i B) { // CHECK: xor <2 x i64> %{{.*}}, %{{.*}} return _mm_xor_si128(A, B); } - -__m128i test_mm_loadu_si64(void const* A) { - // CHECK-LABEL: test_mm_loadu_si64 - // CHECK: load i64, i64* %{{.*}}, align 1{{$}} - // CHECK: insertelement <2 x i64> undef, i64 %{{.*}}, i32 0 - // CHECK: insertelement <2 x i64> %{{.*}}, i64 0, i32 1 - return _mm_loadu_si64(A); -} -