================
@@ -2397,7 +2427,8 @@ static ExprResult BuiltinMaskedScatter(Sema &S, CallExpr
*TheCall) {
Expr *ValArg = TheCall->getArg(2);
Expr *PtrArg = TheCall->getArg(3);
- if (CheckMaskedBuiltinArgs(S, MaskArg, PtrArg, 3))
+ if (CheckMaskedBuiltinArgs(S, MaskArg, PtrArg, 3, /*AllowConst=*/false,
+ /*AllowAS=*/false))
----------------
rjmccall wrote:
LLVM's masked scatter intrinsic looks like it supports arbitrary address
spaces; are you just being conservative about AS qualification here?
https://github.com/llvm/llvm-project/pull/160185
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits