[flang-commits] [flang] [flang][cuda] Support memory cleanup at a return statement (PR #116304)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Thu Nov 14 21:29:38 PST 2024


================
@@ -79,23 +79,26 @@ class StatementContext {
     }
   }
 
-  /// Make cleanup calls. Retain the stack top list for a repeat call.
+  /// Make a cleanup call. Retain the stack top list for a repeat call.
----------------
clementval wrote:

I think you can keep the original comment since we generate 0 to N cleanup calls. 

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


More information about the flang-commits mailing list