================
@@ -2685,6 +2685,8 @@ void CodeGenFunction::EmitParmDecl(const VarDecl &D,
ParamValue Arg,
Arg.getAnyValue()->setName(D.getName());
QualType Ty = D.getType();
+ assert((getLangOpts().OpenCL || Ty.getAddressSpace() == LangAS::Default) &&
----------------
jhuber6 wrote:
This assertion causes a slew of issues, at least in the downstream AMD fork.
https://github.com/llvm/llvm-project/pull/183195
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits