arsenm wrote:

> More specifically, how do you expect Clang to figure this out when e.g. 
> compiling C++ for some AS rich target that decided to default to something 
> odd 

I do not expect clang to be using the datalayout to decide anything. That is 
not really the purpose of the datalayout. It does not provide semantic 
information to the frontend. The frontend needs to directly understand the 
source language semantics and the address spaces of the target.

https://github.com/llvm/llvm-project/pull/108786
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to