diff options
author | Michele Scandale <michele.scandale@gmail.com> | 2024-11-18 10:24:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-18 10:24:09 -0800 |
commit | ab4253f6dff194a1e09448c8628809d21f148df9 (patch) | |
tree | ec8aa145ddb8eb980d3ecfad3c9d8b7545fcb2a1 /clang/lib/Basic/Cuda.cpp | |
parent | a7b2e73bcaa91255a20f1f2e692bec9eb6c17022 (diff) | |
download | llvm-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