[flang-commits] [flang] [flang][cuda] Add a proper TODO for allocate statement for cuda var (PR #88034)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Tue Apr 9 09:18:24 PDT 2024


================
@@ -379,6 +379,9 @@ class AllocateStmtHelper {
   }
 
   void lowerAllocation(const Allocation &alloc) {
+    if (HasCUDAAttr(alloc.getSymbol()))
----------------
clementval wrote:

It somehow works without it but I added the namespaces to be consistent with the rest of the file. 

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


More information about the flang-commits mailing list