https://github.com/kimgr created 
https://github.com/llvm/llvm-project/pull/207507

Practically every internal intrinsics header has a little public/private check 
to force users to use public *intrin.h header names.

avx512vp2intersectintrin.h is the only one with a discrepancy between the 
#error directive and the actual filename.

Fix them to agree. No functional change expected.

From 79d0d06b3f79f1bcc79cc98ab058a918faf2056a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kim=20Gr=C3=A4sman?= <[email protected]>
Date: Sat, 4 Jul 2026 13:00:18 +0200
Subject: [PATCH] [X86] Update #error to mention the right header name

Practically every internal intrinsics header has a little public/private
check to force users to use public *intrin.h header names.

avx512vp2intersectintrin.h is the only one with a discrepancy between
the #error directive and the actual filename.

Fix them to agree. No functional change expected.
---
 clang/lib/Headers/avx512vp2intersectintrin.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/lib/Headers/avx512vp2intersectintrin.h 
b/clang/lib/Headers/avx512vp2intersectintrin.h
index 7d999960a574b..f98e84031fc35 100644
--- a/clang/lib/Headers/avx512vp2intersectintrin.h
+++ b/clang/lib/Headers/avx512vp2intersectintrin.h
@@ -22,7 +22,7 @@
  *===-----------------------------------------------------------------------===
  */
 #ifndef __IMMINTRIN_H
-#error "Never use <avx512vp2intersect.h> directly; include <immintrin.h> 
instead."
+#error "Never use <avx512vp2intersectintrin.h> directly; include <immintrin.h> 
instead."
 #endif
 
 #ifndef _AVX512VP2INTERSECT_H

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to