[PATCH 3/5] R600: Convert non global value const loads to global loads
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 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
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...
More information about the llvm-commits