arsenm wrote: > LangAS::Default is not just determined by target. It also depends on language. For OpenCL 1.2 it is private. I would have hoped this would be implemented by default assuming a hidden private addrspace qualifier https://github.com/llvm/llvm-project/pull/95728