[PATCH] D142524: [flang][OpenMP] Add parser support for order clause

Kavitha Natarajan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 26 21:30:40 PST 2023


kavitha-natarajan added a comment.

In D142524#4081209 <https://reviews.llvm.org/D142524#4081209>, @kiranchandramohan wrote:

> Looks good.
> There are changes to this clause in 5.1 and later standards with an order-modifier added and the order clause applying to constructs like the distribute construct. Is the plan to add these later?

Thanks for reviewing. Currently, we are planning to support OpenMP 5.0 which does not have order-modifier. But I can add the parser support as this is the only change that would be required for order clause support.  I shall update the patch with this change.
If I understand correctly, `DISTRIBUTE` region has to be strictly nested inside `TEAMS` region. In that case, I have added support for 'TEAMS DISTRIBUTE' and 'TARGET TEAMS DISTRIBUTE' constructs.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142524/new/

https://reviews.llvm.org/D142524



More information about the llvm-commits mailing list