[PATCH 3/5] R600: Convert non global value const loads to global loads

Matt Arsenault Matthew.Arsenault at amd.com
Tue May 26 15:10:47 PDT 2015


> On May 26, 2015, at 2:34 PM, Jan Vesely <jan.vesely at rutgers.edu> wrote:
> 
> It is still needed, for now. the mesa side[0] uses different vtx buffers
> for rodata and user provided constant pointers. The user provided
> constant pointers point to Global AS, hence this conversion.
> The current status is that the global load instructions are used for
> constant loads (for those that did not get lowered into Private AS
> reinstantiation).

I’m saying you can select this load to a different instruction, but keep the address space of the underlying value the same. This is basically what SI does, the address space is never changed but the instructions will be.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150526/e36f0e38/attachment.html>


More information about the llvm-commits mailing list