Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2026 14:20:22 +0000
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 20450c2e7920 - main - Merge commit b0d2b57f7e47 from llvm git (by Phoebe Wang):
Message-ID:  <69eccda6.3783e.42d59b86@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=20450c2e792084f06974cff9d2338e2d0406883f

commit 20450c2e792084f06974cff9d2338e2d0406883f
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2026-03-23 14:58:06 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2026-04-25 14:14:23 +0000

    Merge commit b0d2b57f7e47 from llvm git (by Phoebe Wang):
    
      [Headers][X86] Remove more duplicated typedefs (#153820)
    
      They are defined in mmintrin.h
    
    This fixes a -Werror warning in openzfs, which compiles for C99, and C99
    does not allow for typedef redefinitions.
    
    PR:             292067
    MFC after:      1 month
---
 contrib/llvm-project/clang/lib/Headers/emmintrin.h | 4 ----
 contrib/llvm-project/clang/lib/Headers/xmmintrin.h | 1 -
 2 files changed, 5 deletions(-)

diff --git a/contrib/llvm-project/clang/lib/Headers/emmintrin.h b/contrib/llvm-project/clang/lib/Headers/emmintrin.h
index 78e8a422db4c..24ca14dba022 100644
--- a/contrib/llvm-project/clang/lib/Headers/emmintrin.h
+++ b/contrib/llvm-project/clang/lib/Headers/emmintrin.h
@@ -17,7 +17,6 @@
 #include <xmmintrin.h>
 
 typedef double __m128d __attribute__((__vector_size__(16), __aligned__(16)));
-typedef long long __m128i __attribute__((__vector_size__(16), __aligned__(16)));
 
 typedef double __m128d_u __attribute__((__vector_size__(16), __aligned__(1)));
 typedef long long __m128i_u
@@ -25,9 +24,6 @@ typedef long long __m128i_u
 
 /* Type defines.  */
 typedef double __v2df __attribute__((__vector_size__(16)));
-typedef long long __v2di __attribute__((__vector_size__(16)));
-typedef short __v8hi __attribute__((__vector_size__(16)));
-typedef char __v16qi __attribute__((__vector_size__(16)));
 
 /* Unsigned types */
 typedef unsigned long long __v2du __attribute__((__vector_size__(16)));
diff --git a/contrib/llvm-project/clang/lib/Headers/xmmintrin.h b/contrib/llvm-project/clang/lib/Headers/xmmintrin.h
index 6a6436977303..a128a64f5e7c 100644
--- a/contrib/llvm-project/clang/lib/Headers/xmmintrin.h
+++ b/contrib/llvm-project/clang/lib/Headers/xmmintrin.h
@@ -16,7 +16,6 @@
 
 #include <mmintrin.h>
 
-typedef int __v4si __attribute__((__vector_size__(16)));
 typedef float __v4sf __attribute__((__vector_size__(16)));
 typedef float __m128 __attribute__((__vector_size__(16), __aligned__(16)));
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69eccda6.3783e.42d59b86>