[clang] [Clang] Fix assertion "unsigned range includes negative?" in AnalyzeComparison during Sema of vector comparison with mismatched signed/unsigned types and __builtin_convertvector (PR #182627)

Yutong Zhu via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 27 18:03:14 PDT 2026


================
@@ -11479,6 +11223,12 @@ static QualType GetExprType(const Expr *E) {
   return Ty;
 }
 
+static bool isUnsignedIntegerOrVectorElementType(QualType T) {
----------------
YutongZhuu wrote:

Good idea!

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


More information about the cfe-commits mailing list