[llvm] [AMDGPU] Introduce "amdgpu-sw-lower-lds" pass to lower LDS accesses. (PR #87265)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 12:03:01 PDT 2024


arsenm wrote:

> But this isn't exactly SW LDS. 

Which is my complaint, it should be and the name says that it is. 


> We need efficient access to the pointer to the base of simulated LDS and we are storing that in "real" LDS as opposed to adding it to the function ABI.

Introducing more LDS while also lowering it also introduces a range of possible pass order binding problems. You could just as well put the pointer in a regular addrspace(1) global 






https://github.com/llvm/llvm-project/pull/87265


More information about the llvm-commits mailing list