[clang] [clang][x86] Add constexpr support for VNNI intrinsics (PR #190549)

NagaChaitanya Vellanki via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 6 00:25:37 PDT 2026


================
@@ -24,6 +24,14 @@
                  __target__("avx512vl,avx512vnni"),                            \
                  __min_vector_width__(256)))
 
+#if defined(__cplusplus) && (__cplusplus >= 201103L)
+#define __DEFAULT_FN_ATTRS128_CONSTEXPR __DEFAULT_FN_ATTRS128 constexpr
----------------
chaitanyav wrote:

we can apply the same pattern in the other two header files

https://github.com/llvm/llvm-project/pull/190549


More information about the cfe-commits mailing list