[PATCH] D25428: AMDGPU add support for spilling to a user data SREG address.

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 10 01:08:49 PDT 2016


nhaehnle added a subscriber: llvm-commits.
nhaehnle added a comment.

As mentioned on mesa-dev, I like the general approach, but instead of a machine feature to enable this I'd use a function attribute which designates one of the function arguments as the source for the spill pointer, e.g. "amdgpu-spill-ptr=4" to take the pointer from the fifth function argument (which would typically be SGPR 8/9).


Repository:
  rL LLVM

https://reviews.llvm.org/D25428





More information about the llvm-commits mailing list