r298041 - [AVX-512] Fix test cases that were using the builtins directly without typecasts instead of the intrinsic header.

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 16 22:59:22 PDT 2017


Author: ctopper
Date: Fri Mar 17 00:59:22 2017
New Revision: 298041

URL: http://llvm.org/viewvc/llvm-project?rev=298041&view=rev
Log:
[AVX-512] Fix test cases that were using the builtins directly without typecasts instead of the intrinsic header.

Modified:
    cfe/trunk/test/CodeGen/avx512bw-builtins.c

Modified: cfe/trunk/test/CodeGen/avx512bw-builtins.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/avx512bw-builtins.c?rev=298041&r1=298040&r2=298041&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/avx512bw-builtins.c (original)
+++ cfe/trunk/test/CodeGen/avx512bw-builtins.c Fri Mar 17 00:59:22 2017
@@ -1677,19 +1677,19 @@ void test_mm512_mask_cvtepi16_storeu_epi
 {
  // CHECK-LABEL: @test_mm512_mask_cvtepi16_storeu_epi8
  // CHECK: @llvm.x86.avx512.mask.pmov.wb.mem.512
- __builtin_ia32_pmovwb512mem_mask ( __P,  __A, __M);
+ _mm512_mask_cvtepi16_storeu_epi8 ( __P,  __M, __A);
 }
 
 void test_mm512_mask_cvtsepi16_storeu_epi8 (void * __P, __mmask32 __M, __m512i __A)
 {
  // CHECK-LABEL: @test_mm512_mask_cvtsepi16_storeu_epi8
  // CHECK: @llvm.x86.avx512.mask.pmovs.wb.mem.512
- __builtin_ia32_pmovswb512mem_mask ( __P,  __A, __M);
+ _mm512_mask_cvtsepi16_storeu_epi8 ( __P,  __M, __A);
 }
 
 void test_mm512_mask_cvtusepi16_storeu_epi8 (void * __P, __mmask32 __M, __m512i __A)
 {
  // CHECK-LABEL: @test_mm512_mask_cvtusepi16_storeu_epi8
  // CHECK: @llvm.x86.avx512.mask.pmovus.wb.mem.512
- __builtin_ia32_pmovuswb512mem_mask ( __P, __A, __M);
+ _mm512_mask_cvtusepi16_storeu_epi8 ( __P, __M, __A);
 }




More information about the cfe-commits mailing list