[PATCH] D130784: [AMDGPU] Support LDS spilling

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 29 10:50:28 PDT 2022


arsenm added a comment.

In D130784#3687963 <https://reviews.llvm.org/D130784#3687963>, @JonChesterfield wrote:

> I thought we spilled registers to the stack and promoted some stack memory to LDS. Is there any interaction with promoteAlloca? In particular that pass tries to use LDS up to some occupancy boundary, after which allocating more here should take us over that boundary

These are orthogonal things. The only relation would be promote alloca reduces the available LDS budget available for later spilling


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130784



More information about the llvm-commits mailing list