[clang] [Clang] Allow all address spaces to be converted to the default (PR #112248)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 14 14:00:19 PDT 2024
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
More information about the cfe-commits
mailing list