[PATCH] D149451: [NVPTX] Add NVPTXCtorDtorLoweringPass to handle global ctors / dtors
Joseph Huber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 28 08:14:16 PDT 2023
jhuber6 added a comment.
I'm not sure if we should provide this as the default approach. The use-case I have planned is very niche. An alternative is to also do what AMDGPU does and emit a kernel that can be called. I eschewed that mainly because we would get naming conflicts, AMDGPU tends to ignore those because of the persistent LTO mode assumptions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149451/new/
https://reviews.llvm.org/D149451
More information about the llvm-commits
mailing list