Skip to content

Commit 20051b7

Browse files
authored
[Headers][X86] Ensure the CONSTEXPR attributes are undefined at the end of the vpopcntdq headers (#152663)
1 parent 94c48a2 commit 20051b7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

clang/lib/Headers/avx512vpopcntdqintrin.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@ _mm512_maskz_popcnt_epi32(__mmask16 __U, __m512i __A) {
6060
}
6161

6262
#undef __DEFAULT_FN_ATTRS
63+
#undef __DEFAULT_FN_ATTRS_CONSTEXPR
6364

6465
#endif

clang/lib/Headers/avx512vpopcntdqvlintrin.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,7 @@ _mm256_maskz_popcnt_epi32(__mmask8 __U, __m256i __A) {
9999

100100
#undef __DEFAULT_FN_ATTRS128
101101
#undef __DEFAULT_FN_ATTRS256
102+
#undef __DEFAULT_FN_ATTRS128_CONSTEXPR
103+
#undef __DEFAULT_FN_ATTRS256_CONSTEXPR
102104

103105
#endif

0 commit comments

Comments
 (0)