Skip to content

Commit 9a02228

Browse files
committed
[X86] Remove min_vector_width 512 from some intrinsics that operate only on k-registers.
llvm-svn: 340718
1 parent e0b5d4c commit 9a02228

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/lib/Headers/avx512bwintrin.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ typedef unsigned long long __mmask64;
3333

3434
/* Define the default attributes for the functions in this file. */
3535
#define __DEFAULT_FN_ATTRS512 __attribute__((__always_inline__, __nodebug__, __target__("avx512bw"), __min_vector_width__(512)))
36+
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("avx512bw")))
3637

3738
/* Integer compare */
3839

@@ -1792,5 +1793,6 @@ _mm512_sad_epu8 (__m512i __A, __m512i __B)
17921793
}
17931794

17941795
#undef __DEFAULT_FN_ATTRS512
1796+
#undef __DEFAULT_FN_ATTRS
17951797

17961798
#endif

0 commit comments

Comments
 (0)