0015-clang-drop-incorrect-warning-about-vector-equality-r.patch (924B)
1 From 08d4933ae45501fddb33795628bd313e0094d009 Mon Sep 17 00:00:00 2001 2 From: q66 <q66@chimera-linux.org> 3 Date: Sun, 14 Apr 2024 14:46:54 +0200 4 Subject: [PATCH 15/29] clang: drop incorrect warning about vector equality 5 results 6 7 --- 8 clang/lib/Sema/SemaExpr.cpp | 2 -- 9 1 file changed, 2 deletions(-) 10 11 diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp 12 index e253e3a17..52e2bcf51 100644 13 --- a/clang/lib/Sema/SemaExpr.cpp 14 +++ b/clang/lib/Sema/SemaExpr.cpp 15 @@ -12780,8 +12780,6 @@ QualType Sema::CheckVectorCompareOperands(ExprResult &LHS, ExprResult &RHS, 16 if (vType->castAs<VectorType>()->getVectorKind() == 17 VectorKind::AltiVecVector) 18 return Context.getLogicalOperationType(); 19 - else 20 - Diag(Loc, diag::warn_deprecated_altivec_src_compat); 21 break; 22 case LangOptions::AltivecSrcCompatKind::GCC: 23 // For GCC we always return the vector type. 24 -- 25 2.49.0 26