[PATCH] D20298: AMDGPU/R600: Add get_global_offset_{x, y, z} intrinsic

Jan Vesely via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 18 17:07:14 PDT 2016


jvesely added a comment.

In http://reviews.llvm.org/D20298#461485, @tstellarAMD wrote:

> Do we still need this if we have the implicitarg.ptr intrinsic?


This one is for R600. We can switch R600 to use implicitarg.ptr too, but it's a bit more tricky since the loads can only handle constant pointers.

We might consider exposing it as int pointer, since args use AS 8, resulting in some ugly casts in libclc.


Repository:
  rL LLVM

http://reviews.llvm.org/D20298





More information about the llvm-commits mailing list