aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Cuda.cpp
diff options
context:
space:
mode:
authorMichele Scandale <michele.scandale@gmail.com>2024-11-18 10:24:09 -0800
committerGitHub <noreply@github.com>2024-11-18 10:24:09 -0800
commitab4253f6dff194a1e09448c8628809d21f148df9 (patch)
treeec8aa145ddb8eb980d3ecfad3c9d8b7545fcb2a1 /clang/lib/Basic/Cuda.cpp
parenta7b2e73bcaa91255a20f1f2e692bec9eb6c17022 (diff)
downloadllvm-ab4253f6dff194a1e09448c8628809d21f148df9.zip
llvm-ab4253f6dff194a1e09448c8628809d21f148df9.tar.gz
llvm-ab4253f6dff194a1e09448c8628809d21f148df9.tar.bz2
[Analysis] Remove global state from `PluginInline{Advisor,Order}Analysis`. (#114615)
The plugin analysis for `InlineAdvisor` and `InlineOrder` currently relies on shared global state to keep track if the analysis is available. This causes issues when pipelines using plugins and pipelines not using plugins are run in the same process. The shared global state can be easily replaced by checking in the given instance of `ModuleAnalysisManager` if the plugin analysis has been registered.
Diffstat (limited to 'clang/lib/Basic/Cuda.cpp')
0 files changed, 0 insertions, 0 deletions