[llvm-branch-commits] [llvm] [Offload] Add `olGetGlobalVariable` (PR #147944)
Ross Brunton via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jul 10 06:07:26 PDT 2025
RossBrunton wrote:
@jhuber6 I'm not sure that's possible generically. The AMD backend at least needs to mangle kernel names to add ".kd" on the end, so we'd need to know ahead of time whether it's a kernel or not.
However, `olGetSymbol` could work if we pass in the symbol kind as a parameter, then it dispatches to either kernel or global lookup depending on that.
https://github.com/llvm/llvm-project/pull/147944
More information about the llvm-branch-commits
mailing list