[clang] [Clang][FIX] Fix type qualifiers on vector builtins (PR #160185)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 25 13:13:17 PDT 2025


================
@@ -2268,7 +2268,8 @@ static bool BuiltinCountZeroBitsGeneric(Sema &S, CallExpr *TheCall) {
 }
 
 static bool CheckMaskedBuiltinArgs(Sema &S, Expr *MaskArg, Expr *PtrArg,
-                                   unsigned Pos) {
+                                   unsigned Pos, bool AllowConst,
+                                   bool AllowAS) {
----------------
jhuber6 wrote:

Only the masked load / store has an address space variant, the others will give an invalid signature.

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


More information about the cfe-commits mailing list