[flang-commits] [flang] [flang][cuda] Allow STOP in device context (PR #120625)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Thu Dec 19 11:41:14 PST 2024


================
@@ -82,6 +82,10 @@ struct DeviceExprChecker
           }
         }
       }
+      // c_devloc is inlined in lowering.
+      if (x.GetName().compare("c_devloc") == 0) {
+        return {};
+      }
----------------
clementval wrote:

```suggestion
```

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


More information about the flang-commits mailing list