[PATCH] Don't use runtime bounds check between different address space pointers

Matt Arsenault Matthew.Arsenault at amd.com
Thu Oct 3 09:22:06 PDT 2013

On 10/03/2013 03:37 AM, Duncan Sands wrote:
> I don't know what this check is doing exactly, but if two pointers are in
> different address spaces, doesn't that automatically mean they don't 
> alias?
> If so, then maybe here they should be considered to compare as "not 
> equal".
No, it was decided that address spaces in LLVM aren't required to be 
non-overlapping. For GPU address spaces it used to be true that they 
would never alias, but more recently there is now a flat address space 
which can alias all others.

See these threads:

More information about the llvm-commits mailing list