[PATCH] D122091: [amdgpu] Elide module lds allocation in kernels with no callees

Jon Chesterfield via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 28 06:51:13 PDT 2022


JonChesterfield added a comment.

In D122091#3404987 <https://reviews.llvm.org/D122091#3404987>, @hsmhsm wrote:

> What happens to the case where the entry point function makes call(s) to device functions, but none of them use lds?

As written here, no distinction is made between calls that use LDS and calls that don't. That's the obvious next refinement after this lands. This patch is minimal in the hope of separating the plumbing and naming choices from more complicated call graph walking.


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