[PATCH] D102400: [flang] [openmp] Add Fortran specific semantic check 4 for OpenMP Allocate directive.
Isaac Perry via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 13 06:41:57 PDT 2021
I_Perry created this revision.
Herald added subscribers: guansong, yaxunl.
Herald added a reviewer: sscalpone.
I_Perry requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.
This patch adds the 4th Fortran specific semantic check for the OpenMP
allocate directive: "If a list item has the SAVE attribute, is a common
block name, or is declared in the scope of a module, then only predefined
memory allocator parameters can be used in the allocator clause".
Code in this patch was based on code from https://reviews.llvm.org/D93549/new/.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D102400
Files:
flang/include/flang/Semantics/tools.h
flang/lib/Semantics/check-omp-structure.cpp
flang/lib/Semantics/check-omp-structure.h
flang/test/Semantics/omp-allocate08.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102400.345122.patch
Type: text/x-patch
Size: 7524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210513/f589b645/attachment.bin>
More information about the llvm-commits
mailing list