aboutsummaryrefslogtreecommitdiff
path: root/lld
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2024-03-26 07:13:59 -0500
committerGitHub <noreply@github.com>2024-03-26 07:13:59 -0500
commit4dc322524871df02578a05b260dacf28ff130c02 (patch)
tree93247463fa8b4a72f8a6300f1d61b35cc066297b /lld
parentbfb12ef33a90bd20c3a76094ef4393a8defbb712 (diff)
downloadllvm-4dc322524871df02578a05b260dacf28ff130c02.zip
llvm-4dc322524871df02578a05b260dacf28ff130c02.tar.gz
llvm-4dc322524871df02578a05b260dacf28ff130c02.tar.bz2
[Libomptarget] Replace global `PluginTy::get` interface with references (#86595)
Summary: We have a plugin singleton that implements the Plugin interface. This then spawns separate device and kernels. Previously when these needed to reach into the global singleton they would use the `PluginTy::get` routine to get access to it. In the future we will move away from this as the lifetime of the plugin will be handled by `libomptarget` directly. This patch removes uses of this inside of the plugin implementaion themselves by simply keeping a reference to the plugin inside of the device. The external `__tgt_rtl` functions still use the global method, but will be removed later.
Diffstat (limited to 'lld')
0 files changed, 0 insertions, 0 deletions