[flang-commits] [flang] [flang][OpenMP] - Transform target offloading directives with dependencies during PFT to MLIR conversion (PR #85130)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Fri Mar 15 05:35:58 PDT 2024


kiranchandramohan wrote:

> But, in the absence of the nowait clause on the target construct, this enclosing task is an included task i.e. undeferred and executed by the encountering thread . This is why, I think, Clang only generates an enclosing task if depend, in_reduction, nowait or thread_limit (if OpenMP > 5.1) clauses are used on the target construct.

Makes sense. So I guess if go the legalize pass way then the `nowait` case also should be handled there.

> Sounds good, but can the RFC wait a few weeks. I am out on parental leave starting Monday and think it is best to pick it up after I come back (mid April). If you think otherwise, let me know and I'll write up a quick RFC on Friday

Sure, that is fine. Happy parenting!

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


More information about the flang-commits mailing list