[PATCH] D102401: [AMDGPU] Allocate LDS globals in sorted order of their alignment and size.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 17 11:25:36 PDT 2021
arsenm added a comment.
In D102401#2763925 <https://reviews.llvm.org/D102401#2763925>, @hsmhsm wrote:
> But, do we have any immediate available neat solution(s) which will make sure that all the LDS globals which are used within a kernel is replaced by single struct (or something else) instance?
That's essentially what AMDGPULowerModuleLDSPass does, and could be extended to have a kernel specific table
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102401/new/
https://reviews.llvm.org/D102401
More information about the llvm-commits
mailing list