[PATCH] D100224: [flang][OpenMP] Add semantic check for occurrence of variables other than loop iteration variable in a `linear` clause associated with a `distribute` construct.

Arnamoy B via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 9 12:17:19 PDT 2021


arnamoy10 created this revision.
arnamoy10 added reviewers: kiranchandramohan, bryanpkc, kiranktp, SouraVX, AMDChirag, clementval.
arnamoy10 added projects: Flang, OpenMP.
Herald added subscribers: jdoerfert, guansong, yaxunl.
Herald added a reviewer: sscalpone.
arnamoy10 requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.

Implement the following semantic check:

"A list item may not appear in a linear clause, unless it is the loop iteration variable."


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100224

Files:
  flang/lib/Semantics/check-omp-structure.cpp
  flang/lib/Semantics/check-omp-structure.h
  flang/test/Semantics/omp-linear-iter.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100224.336541.patch
Type: text/x-patch
Size: 6253 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210409/f73f53c4/attachment.bin>


More information about the llvm-commits mailing list