[PATCH] D89934: [flang] [OpenMP 4.5] Add semantic checks for OpenMP Depend clause

Praveen G via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 23:46:55 PDT 2020


praveen created this revision.
praveen added reviewers: kiranchandramohan, DavidTruby, richard.barton.arm.
praveen added projects: OpenMP, Flang.
Herald added subscribers: llvm-commits, jdoerfert, guansong, yaxunl.
Herald added a project: LLVM.
praveen requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

Add the semantic checks for the OpenMP 4.5 - 2.13.9 Depend clause.

- List items in depend clause should not be zero length array sections
- A variable that is part of another variable like structure component should not be specified on a depend clause

Test cases : omp-depend01.f90 , omp-depend02.f90


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89934

Files:
  flang/lib/Semantics/check-omp-structure.cpp
  flang/lib/Semantics/check-omp-structure.h
  flang/test/Semantics/omp-depend01.f90
  flang/test/Semantics/omp-depend02.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89934.299878.patch
Type: text/x-patch
Size: 6121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201022/28754496/attachment.bin>


More information about the llvm-commits mailing list