[PATCH] D150428: [flang][openmp] Allocators construct semantic checks

Ethan Luis McDonough via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 00:28:48 PDT 2023


elmcdonough created this revision.
elmcdonough added reviewers: kiranchandramohan, jdoerfert.
elmcdonough added projects: Flang, OpenMP.
Herald added subscribers: sunshaoce, guansong, yaxunl.
Herald added a reviewer: sscalpone.
Herald added a project: All.
elmcdonough requested review of this revision.
Herald added subscribers: llvm-commits, jplehr, sstefan1.
Herald added a project: LLVM.

This patch applies the semantic checks for executable allocation directives to the new allocators construct.  It also introduces a new check that ensures all items in the list appear in the corresponding Fortran allocate statement.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150428

Files:
  flang/include/flang/Parser/parse-tree.h
  flang/include/flang/Semantics/symbol.h
  flang/lib/Semantics/check-omp-structure.cpp
  flang/lib/Semantics/check-omp-structure.h
  flang/lib/Semantics/resolve-directives.cpp
  flang/test/Semantics/OpenMP/allocators01.f90
  flang/test/Semantics/OpenMP/allocators02.f90
  flang/test/Semantics/OpenMP/allocators03.f90
  flang/test/Semantics/OpenMP/allocators04.f90
  llvm/include/llvm/Frontend/OpenMP/OMP.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150428.521572.patch
Type: text/x-patch
Size: 14974 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230512/f03748b6/attachment.bin>


More information about the llvm-commits mailing list