[flang-commits] [flang] [llvm] [mlir] [Flang] Add lowering support for depobj in depend clause (PR #124523)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Wed Jan 29 04:16:26 PST 2025


https://github.com/tblah commented:

Is the stack allocated dependency structure used only during task creation (which is synchronous) or might the data also be referred to (at least by the openmp runtime) during task execution (which is asynchronous)?

Tasks may not be executed immediately and so the task being passed `DepAlloca` might not execute until after the stack restore. Even without that stack restore, it might also outlive the stack frame which created the task.

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


More information about the flang-commits mailing list