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

via flang-commits flang-commits at lists.llvm.org
Mon Apr 8 23:05:00 PDT 2024


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

don't we need `Fortran::semantics::` here? Obviously, there is probably some using ... spilling here. But unless it is consistently not used in the file, please add it.

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


More information about the flang-commits mailing list