[llvm] r198349 - Allow addrspacecast in global aliases

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Jan 14 16:23:46 PST 2014


On 14 January 2014 16:20, Owen Anderson <resistor at mac.com> wrote:
> I don't know Matt's intent here, but some GPUs support accessing local
> memory via a memory mapping inside global memory, in addition to via direct
> access.  This has the nice benefit of still allowing direct access (which
> might be more efficient) while simplifying the programming model by allowing
> precompiled functions with pointer parameters not to have to be specialized
> for each address space.

I see. I guess the correct thing to do in pr10367 is to add an
optional address space to the alias too. I will update the bug.

Thanks,
Rafael



More information about the llvm-commits mailing list