[PATCH] D92732: [Flang][OpenMP 4.5] Add semantic check for OpenMP Do Loop Constructs

Yashaswini Hegde via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 10:52:32 PST 2021


yhegde updated this revision to Diff 320173.
yhegde added a comment.
Herald added a subscriber: jfb.

The patch is updated with Cycle checks in IfConstruct and CaseConstruct with omp-do15.f90 ,omp-do16.f90 and omp-do17.f90 . The parser::Walk is out of the loop now and called only once. Cycles are mostly a concern when appear in do loops with collapse clause. Hence most of the test cases are with collapse.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92732

Files:
  flang/lib/Semantics/check-omp-structure.cpp
  flang/lib/Semantics/check-omp-structure.h
  flang/lib/Semantics/resolve-directives.cpp
  flang/test/Semantics/omp-do04.f90
  flang/test/Semantics/omp-do06-positivecases.f90
  flang/test/Semantics/omp-do06.f90
  flang/test/Semantics/omp-do08.f90
  flang/test/Semantics/omp-do09.f90
  flang/test/Semantics/omp-do10.f90
  flang/test/Semantics/omp-do11.f90
  flang/test/Semantics/omp-do12.f90
  flang/test/Semantics/omp-do13.f90
  flang/test/Semantics/omp-do14.f90
  flang/test/Semantics/omp-do15.f90
  flang/test/Semantics/omp-do16.f90
  flang/test/Semantics/omp-do17.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92732.320173.patch
Type: text/x-patch
Size: 37105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210129/aa584efd/attachment-0001.bin>


More information about the llvm-commits mailing list