]> granicus.if.org Git - clang/commitdiff
[X86] Remove min_vector_width 512 from some intrinsics that operate only on k-registers.
authorCraig Topper <craig.topper@intel.com>
Mon, 27 Aug 2018 06:20:20 +0000 (06:20 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 27 Aug 2018 06:20:20 +0000 (06:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340718 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Headers/avx512bwintrin.h

index 7fbd86118787186c59f40bcbe878c5a94d3acd42..0f5b91f85967085efde5285c295d23c284bd6b92 100644 (file)
@@ -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