jhuber6 wrote: > I think the default AS is expected to be losslessly converted to other AS but > not the other way around, though I understand it is not clearly stated in > LangRef or other places and a lot of code just assumes it can.
All the other language address spaces (cuda, OpenMP, sycl) support converting to the default address space. OpenCL supports it except for constant. https://github.com/llvm/llvm-project/pull/112248 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits