[PATCH] D134741: [amdgpu] Error, instead of miscompile, anonymous kernels using lds
Jon Chesterfield via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 27 07:51:16 PDT 2022
JonChesterfield added a comment.
The other option is to generate a name for the anonymous kernels from within the lds pass but that's a gross mixing of concerns. D127052 <https://reviews.llvm.org/D127052> suggested using Mangler::getNameWithPrefix, but that's a local state thing so an instance created in the lowering pass won't necessarily hand out the same names as an instance created in the backend. So we could use that to name the functions here but we'd have to actually setName them.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134741/new/
https://reviews.llvm.org/D134741
More information about the llvm-commits
mailing list