[PATCH] D15724: AMDGPU/SI: fix scratch resource register allocation on Tonga & Iceland

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 22 14:47:34 PST 2015


nhaehnle added a comment.

Yes, I actually ran into this with a real shader, but it's a very big one :) To hit this, all SGPRs _and_ VGPR spilling have to be used. Perhaps a long sequence of loads followed by some kind of barrier intrinsics could work?

And you're right, the code below also looks like it needs to be adapted, but somehow the bug got fixed even without it. I'll look into it.


http://reviews.llvm.org/D15724





More information about the llvm-commits mailing list