Juan Manuel Martinez =?utf-8?q?Caamaño?= <[email protected]>, Juan Manuel Martinez =?utf-8?q?Caamaño?= <[email protected]> Message-ID: In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>
arsenm wrote: > So on LLVM side it is (often) assumed that the "default address space" always > is AS=0. But on clang side targets can map DefaultAS to a non zero address > space. I wonder if that inconsistency is a bigger problem than addressed by > this patch. Yes, this is a hack from the beginning of OpenCL. Instead of changing the default address space, it would be better if clang treated OpenCL 1.x as implicitly adding the private qualifier on pointers https://github.com/llvm/llvm-project/pull/163207 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
