[PATCH] D96980: [amdgpu] Revert agnostic SGPR spill.

Michael Liao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 19 08:14:00 PST 2021


hliao added a comment.

In D96980#2573982 <https://reviews.llvm.org/D96980#2573982>, @foad wrote:

>> HPC workloads mostly spill 1 or 2 SGPRs.
>
> Can you explain this a bit more? Spilling SGPRs //to memory// is supposed to be a very rare case. Why is it common for HPC workloads? Is there a better way to fix it?

Pointers are extensively used in most HPC workloads, where double is also frequently used. There are lots of uniform 64-bit values in either pointer or double.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96980/new/

https://reviews.llvm.org/D96980



More information about the llvm-commits mailing list