[clang] 20051b7 - [Headers][X86] Ensure the CONSTEXPR attributes are undefined at the end of the vpopcntdq headers (#152663)

via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 8 02:02:35 PDT 2025


Author: Simon Pilgrim
Date: 2025-08-08T10:02:32+01:00
New Revision: 20051b7d6ed4de4301f05c385d3885696bf364df

URL: https://github.com/llvm/llvm-project/commit/20051b7d6ed4de4301f05c385d3885696bf364df
DIFF: https://github.com/llvm/llvm-project/commit/20051b7d6ed4de4301f05c385d3885696bf364df.diff

LOG: [Headers][X86] Ensure the CONSTEXPR attributes are undefined at the end of the vpopcntdq headers (#152663)

Added: 
    

Modified: 
    clang/lib/Headers/avx512vpopcntdqintrin.h
    clang/lib/Headers/avx512vpopcntdqvlintrin.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/Headers/avx512vpopcntdqintrin.h b/clang/lib/Headers/avx512vpopcntdqintrin.h
index e24c2c5e1bcd9..79fc6e140c616 100644
--- a/clang/lib/Headers/avx512vpopcntdqintrin.h
+++ b/clang/lib/Headers/avx512vpopcntdqintrin.h
@@ -60,5 +60,6 @@ _mm512_maskz_popcnt_epi32(__mmask16 __U, __m512i __A) {
 }
 
 #undef __DEFAULT_FN_ATTRS
+#undef __DEFAULT_FN_ATTRS_CONSTEXPR
 
 #endif

diff  --git a/clang/lib/Headers/avx512vpopcntdqvlintrin.h b/clang/lib/Headers/avx512vpopcntdqvlintrin.h
index b6c819b0cb85e..d14cb1eb31f14 100644
--- a/clang/lib/Headers/avx512vpopcntdqvlintrin.h
+++ b/clang/lib/Headers/avx512vpopcntdqvlintrin.h
@@ -99,5 +99,7 @@ _mm256_maskz_popcnt_epi32(__mmask8 __U, __m256i __A) {
 
 #undef __DEFAULT_FN_ATTRS128
 #undef __DEFAULT_FN_ATTRS256
+#undef __DEFAULT_FN_ATTRS128_CONSTEXPR
+#undef __DEFAULT_FN_ATTRS256_CONSTEXPR
 
 #endif


        


More information about the cfe-commits mailing list