[PATCH] D21710: AMDGPU/R600: Add PatFrags for selecting the correct vtx id for loads

Jan Vesely via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 26 15:56:14 PDT 2016


jvesely added a comment.

In http://reviews.llvm.org/D21710#467400, @arsenm wrote:

> Checking IR values in the DAG also doesn't seem like the best idea although AA does


OK, thanks. I guess the solution for r600 is:
move rodata out of code segment.
introduce constant AS pool in mesa, make sure that rodata is at the beginning of that pool (also takes care of NULL address for user buffers)
allocate __constant user buffers from the new pool.


http://reviews.llvm.org/D21710





More information about the llvm-commits mailing list