arsenm wrote: I'd rather just fix clang. This is a workaround that shouldn't be necessary, and seems to spread the knowledge of the dodgy !__opencl_c_generic_address_space address space handling case to a new place https://github.com/llvm/llvm-project/pull/152314