From: Craig Topper Date: Mon, 27 Aug 2018 06:20:20 +0000 (+0000) Subject: [X86] Remove min_vector_width 512 from some intrinsics that operate only on k-registers. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6faba02b55be2db923e3a6f16e7d01d44ee49b7f;p=clang [X86] Remove min_vector_width 512 from some intrinsics that operate only on k-registers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340718 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Headers/avx512bwintrin.h b/lib/Headers/avx512bwintrin.h index 7fbd861187..0f5b91f859 100644 --- a/lib/Headers/avx512bwintrin.h +++ b/lib/Headers/avx512bwintrin.h @@ -33,6 +33,7 @@ typedef unsigned long long __mmask64; /* Define the default attributes for the functions in this file. */ #define __DEFAULT_FN_ATTRS512 __attribute__((__always_inline__, __nodebug__, __target__("avx512bw"), __min_vector_width__(512))) +#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("avx512bw"))) /* Integer compare */ @@ -1792,5 +1793,6 @@ _mm512_sad_epu8 (__m512i __A, __m512i __B) } #undef __DEFAULT_FN_ATTRS512 +#undef __DEFAULT_FN_ATTRS #endif