[PATCH] D106335: [flang][OpenMP] Add semantic check for teams nesting

Peixin Qiao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 29 04:22:01 PDT 2021


peixin updated this revision to Diff 362715.
peixin set the repository for this revision to rG LLVM Github Monorepo.
peixin added a comment.

@kiranchandramohan Thanks for the suggestions, which prevents from using magic number. Replaced directiveNest_[3] with directiveNest_[LastType+1].


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106335

Files:
  flang/lib/Semantics/check-directive-structure.h
  flang/lib/Semantics/check-omp-structure.cpp
  flang/lib/Semantics/check-omp-structure.h
  flang/test/Semantics/omp-firstprivate01.f90
  flang/test/Semantics/omp-nested-master.f90
  flang/test/Semantics/omp-nested-simd.f90
  flang/test/Semantics/omp-nested-teams.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106335.362715.patch
Type: text/x-patch
Size: 13745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210729/8e37fef5/attachment.bin>


More information about the llvm-commits mailing list