[llvm-branch-commits] [llvm] [offload][nfc] Pull OpenMP's InteropTbl out of PluginManager (PR #230483)

Kevin Sala Penades via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Oct 9 08:49:55 PDT 2026


================
@@ -44,11 +45,11 @@ void initRuntime() {
 
   checkRuntimeEnvironment();
 
-  if (PM == nullptr)
-    PM = new PluginManager();
-
   RefCount++;
   if (RefCount == 1) {
+    assert(PM == nullptr);
----------------
kevinsala wrote:

nit

```suggestion
    assert(!PM && "Runtime already initialized");
```

https://github.com/llvm/llvm-project/pull/230483


More information about the llvm-branch-commits mailing list