================
@@ -15101,6 +15070,15 @@ LangAS 
ASTContext::getLangASForBuiltinAddressSpace(unsigned AS) const {
   if (LangOpts.CUDA)
     return getTargetInfo().getCUDABuiltinAddressSpace(AS);
 
+  if (getTargetInfo().getTriple().isWasm()) {
----------------
vtjnash wrote:

It looks like `getLangASFromTargetAS` doesn't appear to have knowledge of the 
Triple (it's a global function), so this seemed to be what was done for 
existing targets

https://github.com/llvm/llvm-project/pull/197540
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to