gonzalobg wrote:

Is there some github issue or discourse thread that provides context for this 
change?
What problem does this PR solve?

My understanding is that the default LLVM IR address space (*) is flat. Is that 
currently the case or is my understanding incorrect? Is this PR proposing that 
`addrspace(0)` should be allowed to no longer be flat, and that whether a 
target provides a flat address space shall be optional? What alternatives where 
considered? (e.g. why isn't sufficient for targets that cannot provide a flat 
address pace to just not implement support for `addrspace(0)`? i.e. why do we 
need to support a non-flat `addrspace(0)` and allow a target to provide a 
`flat` addresspace at a different identifier?)

(*) The address space C++/Rust/... pointers map to, i.e., `addrspace(0)`.

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