From: Craig Topper Date: Tue, 17 May 2016 03:42:37 +0000 (+0000) Subject: [X86] Fix a few intrinsic tests to use the return type that matches the intrinsic... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fc852660e11f3f912aa0841c431b529758bdd8b;p=clang [X86] Fix a few intrinsic tests to use the return type that matches the intrinsic they're testing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269735 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/sse-builtins.c b/test/CodeGen/sse-builtins.c index 0f964e8055..5814532dc5 100644 --- a/test/CodeGen/sse-builtins.c +++ b/test/CodeGen/sse-builtins.c @@ -454,25 +454,25 @@ __m128d test_mm_cmpnge_pd(__m128d __a, __m128d __b) { return _mm_cmpnge_pd(__a, __b); } -__m128 test_mm_slli_si128(__m128 a) { +__m128i test_mm_slli_si128(__m128 a) { // CHECK-LABEL: @test_mm_slli_si128 // CHECK: shufflevector <16 x i8> {{.*}}, <16 x i8> {{.*}}, <16 x i32> return _mm_slli_si128(a, 5); } -__m128 test_mm_bslli_si128(__m128 a) { +__m128i test_mm_bslli_si128(__m128 a) { // CHECK-LABEL: @test_mm_bslli_si128 // CHECK: shufflevector <16 x i8> {{.*}}, <16 x i8> {{.*}}, <16 x i32> return _mm_bslli_si128(a, 5); } -__m128 test_mm_srli_si128(__m128 a) { +__m128i test_mm_srli_si128(__m128 a) { // CHECK-LABEL: @test_mm_srli_si128 // CHECK: shufflevector <16 x i8> {{.*}}, <16 x i8> {{.*}}, <16 x i32> return _mm_srli_si128(a, 5); } -__m128 test_mm_bsrli_si128(__m128 a) { +__m128i test_mm_bsrli_si128(__m128 a) { // CHECK-LABEL: @test_mm_bsrli_si128 // CHECK: shufflevector <16 x i8> {{.*}}, <16 x i8> {{.*}}, <16 x i32> return _mm_bsrli_si128(a, 5);