[all-commits] [llvm/llvm-project] 80ea00: [flang] [openmp] Add Fortran specific semantic che...

IPerryArm via All-commits all-commits at lists.llvm.org
Tue Jun 15 08:04:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80ea006ef9e08364854394b633b904fa85e38e4e
      https://github.com/llvm/llvm-project/commit/80ea006ef9e08364854394b633b904fa85e38e4e
  Author: Isaac Perry <isaac.perry at arm.com>
  Date:   2021-06-15 (Tue, 15 Jun 2021)

  Changed paths:
    M flang/include/flang/Semantics/tools.h
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    A flang/test/Semantics/omp-allocate08.f90

  Log Message:
  -----------
  [flang] [openmp] Add Fortran specific semantic check 4 for OpenMP Allocate directive.

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/.

Differential Revision: https://reviews.llvm.org/D102400




More information about the All-commits mailing list