Author: Kim Gräsman
Date: 2026-07-04T21:48:43+08:00
New Revision: b3e8d7ebed1dc50bce3348d1508316cc6a493133

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

LOG: [X86] Update #error to mention the right header name (#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.

Added: 
    

Modified: 
    clang/lib/Headers/avx512vp2intersectintrin.h

Removed: 
    


################################################################################
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