[PATCH] D122091: [amdgpu] Elide module lds allocation in kernels with no callees
Mahesha S via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 24 04:40:54 PDT 2022
hsmhsm added a comment.
If I understand this patch correctly, the main intention of this patch is to check if the entry point function makes any call(s) to device functions, and if so, create and allocate module lds. Otherwise don't.
What happens to the case where the entry point function makes call(s) to device functions, but none of them use lds?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122091/new/
https://reviews.llvm.org/D122091
More information about the llvm-commits
mailing list