[PATCH] D20297: AMDGPU/SI: Add implicitarg.segment.ptr intrinsic.

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri May 27 07:06:08 PDT 2016


tstellarAMD added a comment.

In http://reviews.llvm.org/D20297#441156, @arsenm wrote:

> Why not the offset from the base pointer intrinsic rather than an intrinsic to the offset?


Because if the implict args are stored after the explict kernel args, then the offset from kernarg.base.ptr to the start of implicit args is not known until compile time.


Repository:
  rL LLVM

http://reviews.llvm.org/D20297





More information about the llvm-commits mailing list