================
@@ -15101,6 +15070,15 @@ LangAS
ASTContext::getLangASForBuiltinAddressSpace(unsigned AS) const {
if (LangOpts.CUDA)
return getTargetInfo().getCUDABuiltinAddressSpace(AS);
+ if (getTargetInfo().getTriple().isWasm()) {
----------------
arsenm wrote:
Why isn't this in getLangASFromTargetAS?
https://github.com/llvm/llvm-project/pull/197540
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits